We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3a83196 + 30a68de commit 7bdc3c8Copy full SHA for 7bdc3c8
headers/modsecurity/rules_set_properties.h
@@ -333,9 +333,9 @@ class RulesSetProperties {
333
case FalseConfigBoolean:
334
return "False";
335
case PropertyNotSetConfigBoolean:
336
+ default:
337
return "Not set";
338
}
- return NULL;
339
340
341
src/actions/transformations/url_encode.cc
@@ -48,7 +48,7 @@ std::string UrlEncode::url_enc(const char *input,
48
len = input_len * 3 + 1;
49
d = rval = reinterpret_cast<char *>(malloc(len));
50
if (rval == NULL) {
51
+ return {};
52
53
54
/* ENH Only encode the characters that really need to be encoded. */
0 commit comments