Sets path for URL to meet SIP002 requirement

This commit is contained in:
Timothy Qiu
2017-08-01 23:22:33 +08:00
parent e7cc26f81d
commit f54a108d7e

View File

@ -300,6 +300,7 @@ class ServerProfile: NSObject, NSCopying {
comps.host = serverHost
comps.port = Int(serverPort)
comps.user = userInfo
comps.path = "/" // This is required by SIP0002 for URLs with fragment or query
comps.fragment = remark
comps.queryItems = items