nfqws2: HttpReplyLooksLikeDPIRedirect accept # and ? chars as domain end

This commit is contained in:
bol-van committed 2026-09-16 16:20:51 +03:00
1 parent 7119ffce54
commit 5df635efdb
1 file changed
+1 -1
+1 -1
View File
@@ -385,7 +385,7 @@ bool HttpReplyLooksLikeDPIRedirect(const uint8_t *data, size_t len, const char *
// somethinkg like : censor.net/badpage.php?reason=denied&source=RKN
for(p=redirect_host; *p && *p!='/' ; p++);
for(p=redirect_host; *p && *p!='/' && *p!='?' && *p!='#' ; p++);
*p=0;
if (!*redirect_host) return false;