We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All
md5: 33eea496e300c75fdb3c2ed863d28ef1
Issue Description:
I was wondering why this piece of code always exit with 1:
import Foundation // an idn domain: let uLabel = "համընդհանուր-ընկալում-թեստ.հայ" let urlStr = "https://" + uLabel guard let url = URL(string: urlStr) else { exit(1) } exit(0)
Since Apple's browser Safari does support well IDN domains, I was surprised their URL library does not... I tried to urlencode the string beforehand, but it is not helping. Please answer this stackoverflow also: https://stackoverflow.com/questions/69945768/swift-url-returns-nil-when-the-url-contains-an-internationalized-domain-name-id
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
All
Additional Detail from JIRA
md5: 33eea496e300c75fdb3c2ed863d28ef1
Issue Description:
I was wondering why this piece of code always exit with 1:
Since Apple's browser Safari does support well IDN domains, I was surprised their URL library does not... I tried to urlencode the string beforehand, but it is not helping. Please answer this stackoverflow also: https://stackoverflow.com/questions/69945768/swift-url-returns-nil-when-the-url-contains-an-internationalized-domain-name-id
The text was updated successfully, but these errors were encountered: