mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-26 07:05:00 +03:00
Add a warning about the use of insecure HTTP protocol subscription address
This commit is contained in:
@@ -1340,7 +1340,9 @@ namespace ServiceLib.Handler
|
||||
//Do not allow http protocol
|
||||
if (url.StartsWith(Global.HttpProtocol) && !Utils.IsPrivateNetwork(uri.IdnHost))
|
||||
{
|
||||
return -1;
|
||||
//TODO Temporary reminder to be removed later
|
||||
NoticeHandler.Instance.Enqueue(ResUI.InsecureUrlProtocol);
|
||||
//return -1;
|
||||
}
|
||||
|
||||
var queryVars = Utils.ParseQueryString(uri.Query);
|
||||
|
||||
Reference in New Issue
Block a user