mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-16 07:56:12 +03:00
Rewriting parser for gsblookup
This commit is contained in:
parent
ab339c7b11
commit
123018cfcc
@ -1187,6 +1187,8 @@ static int msre_op_gsbLookup_execute(modsec_rec *msr, msre_rule *rule, msre_var
|
|||||||
|
|
||||||
match_length = strlen(match);
|
match_length = strlen(match);
|
||||||
|
|
||||||
|
strtolower_inplace((unsigned char *)match);
|
||||||
|
|
||||||
if((strstr(match,"http") == NULL) && (match_length > 0) && (strchr(match,'.'))) {
|
if((strstr(match,"http") == NULL) && (match_length > 0) && (strchr(match,'.'))) {
|
||||||
|
|
||||||
/* full url */
|
/* full url */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user