mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Replaced 0 by '\0' for char
This commit is contained in:
parent
cd65a44d64
commit
692710cab7
@ -1565,7 +1565,7 @@ static const char *gsb_replace_tpath(apr_pool_t *pool, const char *domain, int l
|
||||
data = apr_palloc(pool, len + 1);
|
||||
if (!data) return NULL;
|
||||
|
||||
url[len] = 0;
|
||||
url[len] = '\0';
|
||||
|
||||
while(( pos = strstr(url , "/./" )) != NULL) {
|
||||
match = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user