fix to_lower filter (#4015)

This commit is contained in:
Samuel Sieb 2022-11-10 10:40:53 -08:00 committed by GitHub
parent 27a339fa12
commit 2f18ae00c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ optional<std::string> ToUpperFilter::new_value(std::string value) {
// ToLowerFilter
optional<std::string> ToLowerFilter::new_value(std::string value) {
for (char &c : value)
c = ::toupper(c);
c = ::tolower(c);
return value;
}