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
What I suspect is happening is some astonishingly lazy IPv6 parsing - It detects that the hostname contains an opening square bracket, followed a closing square bracket, and so the host should be trimmed of its first and last characters. It doesn't actually check that the opening square bracket is the first character of the hostname, or that the closing square bracket is the last character of the hostname, or that a valid IPv6 address is contained within them.
These URLs should all fail to parse.
The text was updated successfully, but these errors were encountered:
Environment
Swift 5.5.2, Xcode 13.2, macOS 11.6
Additional Detail from JIRA
md5: fc6db48c2ef78af80ca1f0400354939b
Issue Description:
What I suspect is happening is some astonishingly lazy IPv6 parsing - It detects that the hostname contains an opening square bracket, followed a closing square bracket, and so the host should be trimmed of its first and last characters. It doesn't actually check that the opening square bracket is the first character of the hostname, or that the closing square bracket is the last character of the hostname, or that a valid IPv6 address is contained within them.
These URLs should all fail to parse.
The text was updated successfully, but these errors were encountered: