Jørund Amsen
12/02/2019, 12:32 PMinstall(CORS){
host("*.<http://somedomain.com|somedomain.com>")
}
to work, does it not support the *.
notation?Jonathan Mew
12/02/2019, 12:37 PMJørund Amsen
12/02/2019, 12:42 PMJonathan Mew
12/02/2019, 12:52 PMJørund Amsen
12/02/2019, 12:53 PM*
?Jonathan Mew
12/02/2019, 12:55 PMprivate fun corsCheckOrigins(origin: String): Boolean {
return allowsAnyHost || normalizeOrigin(origin) in hostsNormalized
}
hostsNormalized: HashSet<String>
and that needs to actually contain the request origin according to corsCheckOrigins, so doesn't look like itJørund Amsen
12/02/2019, 1:25 PM