fix host feild in request header

This commit is contained in:
SpringHgui 2020-07-03 13:54:06 +08:00
parent b28eab2ee4
commit 4d411df049

View File

@ -102,7 +102,7 @@ namespace FastTunnel.Core.Core
// 正则获取Host
String Host = string.Empty;
var pattern = @"Host:.+";
var pattern = @"[hH]ost:.+";
var collection = Regex.Matches(words, pattern);
if (collection.Count == 0)
{