mirror of
https://github.com/bol-van/zapret2.git
synced 2026-10-29 06:02:05 +00:00
nfqws2: HttpReplyLooksLikeDPIRedirect accept # and ? chars as domain end
This commit is contained in:
1 parent
7119ffce54
commit
5df635efdb
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user