mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Refactoring on the variable read/store methods
Now it is ready to received two (or more) variables with same key.
This commit is contained in:
@@ -58,7 +58,7 @@ double random_number(const double from, const double to) {
|
||||
|
||||
|
||||
std::string dash_if_empty(const std::string& str) {
|
||||
if (str.empty()) {
|
||||
if (&str == NULL || str.empty()) {
|
||||
return "-";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user