mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Improvements on gsblookup - reduce multiple slashes
This commit is contained in:
parent
ab8c7e6f48
commit
0eb1f68dae
@ -1016,6 +1016,13 @@ const char *gsb_reduce_char(modsec_rec *msr, const char *domain) {
|
||||
if(*ptr == '.')
|
||||
skip = 1;
|
||||
|
||||
ptr--;
|
||||
break;
|
||||
case '/':
|
||||
ptr++;
|
||||
if(*ptr == '/')
|
||||
skip = 1;
|
||||
|
||||
ptr--;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user