From f54a108d7ec8acb5b24c332e693682becb4a0e4c Mon Sep 17 00:00:00 2001 From: Timothy Qiu Date: Tue, 1 Aug 2017 23:22:33 +0800 Subject: [PATCH] Sets path for URL to meet SIP002 requirement --- ShadowsocksX-NG/ServerProfile.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ShadowsocksX-NG/ServerProfile.swift b/ShadowsocksX-NG/ServerProfile.swift index af86a89..aff8b4e 100644 --- a/ShadowsocksX-NG/ServerProfile.swift +++ b/ShadowsocksX-NG/ServerProfile.swift @@ -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