mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
fix arg name with double dot in SecUpdateTargetById
This commit is contained in:
@@ -113,9 +113,6 @@ char *update_rule_target(cmd_parms *cmd, directory_config *dcfg,
|
|||||||
|
|
||||||
if(opt != NULL) {
|
if(opt != NULL) {
|
||||||
name = apr_strtok(param,":",&value);
|
name = apr_strtok(param,":",&value);
|
||||||
if(strchr(value,':') != NULL) {
|
|
||||||
goto end;
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
name = param;
|
name = param;
|
||||||
}
|
}
|
||||||
@@ -192,9 +189,6 @@ char *update_rule_target(cmd_parms *cmd, directory_config *dcfg,
|
|||||||
|
|
||||||
if(opt != NULL) {
|
if(opt != NULL) {
|
||||||
name = apr_strtok(param,":",&value);
|
name = apr_strtok(param,":",&value);
|
||||||
if(strchr(value,':') != NULL) {
|
|
||||||
goto end;
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
name = param;
|
name = param;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user