Skip to content

Commit 1edd357

Browse files
author
Felipe Zimmerle
committed
Adds a set of sanity checks to validate API inputs (2 of 2)
1 parent 508a2b5 commit 1edd357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules_exceptions.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace modsecurity {
2525

2626
bool RulesExceptions::load(const std::string &a, std::string *error) {
2727
bool added = false;
28-
std::vector<std::string> toRemove = utils::string::split(a, ' ');
28+
std::vector<std::string> toRemove = utils::string::ssplit(a, ' ');
2929
for (std::string &a : toRemove) {
3030
std::string b = modsecurity::utils::string::parserSanitizer(a);
3131
if (b.size() == 0) {

0 commit comments

Comments
 (0)