X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Futil.cc;fp=src%2Flib%2Futil.cc;h=6339cb6a64b24afaa6b79e029e51a5436fe750bb;hp=13a062bc63e5d8c35bf16efbede63abacb7ea648;hb=5a1966c187c189da43a650f1425b29190f5cfe78;hpb=393d08d199c0b83a42a095bdd8eb3bb7573cd608 diff --git a/src/lib/util.cc b/src/lib/util.cc index 13a062bc6..6339cb6a6 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -799,7 +799,7 @@ careful_string_filter (string s) /* Then remove anything that's not in a very limited character set */ wstring out; - wstring const allowed = L"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_%.+"; + wstring const allowed = L"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_.+"; for (int i = 0; i < transliterated_more.length(); ++i) { wchar_t c = transliterated_more[i]; if (allowed.find(c) != string::npos) {