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) {
|
||||
name = apr_strtok(param,":",&value);
|
||||
if(strchr(value,':') != NULL) {
|
||||
goto end;
|
||||
}
|
||||
} else {
|
||||
name = param;
|
||||
}
|
||||
@@ -192,9 +189,6 @@ char *update_rule_target(cmd_parms *cmd, directory_config *dcfg,
|
||||
|
||||
if(opt != NULL) {
|
||||
name = apr_strtok(param,":",&value);
|
||||
if(strchr(value,':') != NULL) {
|
||||
goto end;
|
||||
}
|
||||
} else {
|
||||
name = param;
|
||||
}
|
||||
|
Reference in New Issue
Block a user