You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TrustKit can erroneously identify other domains as subdomains, and as a result can use the wrong configuration.
I've tracked the issue to the isSubdomain function in configuration_utils.m, which is only checking that the domain names have the same ending.
Example:
2 configurations for domain.com and test-domain.com. Attempting to connect to en.test-domain.com will use the configuration for domain.com, rather than test-domain.com. Even worse is that totallynotthesamedomain.com will also identify as a subdomain of domain.com.
The text was updated successfully, but these errors were encountered:
TrustKit can erroneously identify other domains as subdomains, and as a result can use the wrong configuration.
I've tracked the issue to the
isSubdomain
function inconfiguration_utils.m
, which is only checking that the domain names have the same ending.Example:
2 configurations for
domain.com
andtest-domain.com
. Attempting to connect toen.test-domain.com
will use the configuration fordomain.com
, rather thantest-domain.com
. Even worse is thattotallynotthesamedomain.com
will also identify as a subdomain ofdomain.com
.The text was updated successfully, but these errors were encountered: