mirror of
https://github.com/FastTunnel/FastTunnel.git
synced 2025-02-08 02:39:29 +08:00
fix host feild in request header
This commit is contained in:
parent
b28eab2ee4
commit
4d411df049
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user