Fixes #1175. Unescape fragment of legacy format url.

This commit is contained in:
Qiu Yuzhou
2019-10-30 17:18:58 +08:00
parent 9b204d1cf3
commit ab6b6d41d4

View File

@ -82,7 +82,7 @@ class ServerProfile: NSObject, NSCopying {
if let index = base64End { if let index = base64End {
let i = urlStr.index(index, offsetBy: 1) let i = urlStr.index(index, offsetBy: 1)
let fragment = String(urlStr[i...]) let fragment = String(urlStr[i...])
return (s, fragment) return (s, fragment.removingPercentEncoding)
} }
return (s, nil) return (s, nil)
} }