diff --git a/src/tools.h b/src/tools.h index b212db0..0321360 100644 --- a/src/tools.h +++ b/src/tools.h @@ -338,7 +338,7 @@ void chunks(Iterator begin, */ template inline string -remove_bad_chars(T&& in_str, std::regex const& rgx = std::regex ("[^a-zA-Z0-9]")) +remove_bad_chars(T&& in_str, std::regex const& rgx = std::regex ("[^a-zA-Z0-9+/=]")) { return std::regex_replace(std::forward(in_str), rgx, ""); }