devxoul / URLNavigator

⛵️ Elegant URL Routing for Swift
MIT License
3.25k stars 297 forks source link

In iOS 17 ,"https://<path:_>" convert to URL failured #171

Open zhuolingzhao007 opened 4 months ago

zhuolingzhao007 commented 4 months ago

CleanShot 2024-06-09 at 10 01 19@2x

In systems above iOS 17, the default implementation of URLConvertible fails to create a URL, while it can succeed on older systems. I understand that the issue is related to the character set being used.

zhuolingzhao007 commented 4 months ago

the same code in the URLMatcher folder, URLConvertible file, line 41

lixiang1994 commented 3 months ago

无法初始化成功 URL(string: "http://%3Cpath:_%3E")

lixiang1994 commented 3 months ago

如果去掉: 就可以初始化成功 URL(string: "http://%3Cpath_%3E") 感觉上 iOS17的URL类型要求变得严格了