URLNavigator icon indicating copy to clipboard operation
URLNavigator copied to clipboard

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

Open zhuolingzhao007 opened this issue 1 year ago • 3 comments

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 avatar Jun 09 '24 02:06 zhuolingzhao007

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

zhuolingzhao007 avatar Jun 09 '24 02:06 zhuolingzhao007

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

lixiang1994 avatar Aug 07 '24 08:08 lixiang1994

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

lixiang1994 avatar Aug 07 '24 08:08 lixiang1994