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
fix(plg): validate alternateDomain with isValidDomain before isSafeDomain
isSafeDomain documents that isValidDomain must have already accepted the
input, but the alternateDomain path skipped that precondition. A value
like https://evil.com/path would pass isSafeDomain since split('/')[0]
returns https:, matching none of the blocked patterns.
Also removes http://domain.com from the invalid-domains test fixture now
that stripScheme normalises scheme-prefixed inputs before validation.
0 commit comments