scape meta characters

This commit is contained in:
Daniel Maya 2021-06-15 15:57:13 +02:00
parent 9fcde88ebf
commit 38ad3574f3
1 changed files with 2 additions and 0 deletions

View File

@ -254,6 +254,8 @@ sub g_http_task {
utf8::decode($match_string); utf8::decode($match_string);
} }
$match_string = quotemeta($match_string);
if ( $as_string =~ m/$match_string/i ){ if ( $as_string =~ m/$match_string/i ){
$total_valid_requests++; $total_valid_requests++;
} else { } else {