This commit is contained in:
2dust
2019-09-30 17:32:34 +08:00
parent 37af5f372a
commit 4eb7f312b5
4 changed files with 19 additions and 17 deletions
@@ -62,7 +62,7 @@ namespace v2rayN.HttpProxyHandler
{
string address = ctx.Request.LocalEndPoint.Address.ToString();
string rstr = _responderMethod(address);
byte[] buf = Encoding.ASCII.GetBytes(rstr);
byte[] buf = Encoding.UTF8.GetBytes(rstr);
ctx.Response.StatusCode = 200;
ctx.Response.ContentType = "application/x-ns-proxy-autoconfig";
ctx.Response.ContentLength64 = buf.Length;