summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-04-22 21:34:34 +0100
committerCarl Hetherington <cth@carlh.net>2018-04-22 21:34:34 +0100
commit86ef75d2d857309257086b94434564997976c912 (patch)
tree5dcfbcd4ac19fab9eb4a4200382311e0af16b7e1
parent9f4786107a147a4c2395ff3ddcf9328eca405a11 (diff)
Allow + in DCP names for ISDCF RU rating strings.
-rw-r--r--src/lib/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index abfdd2767..3eb5ee30e 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -718,7 +718,7 @@ careful_string_filter (string s)
*/
string out;
- string const allowed = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_%.";
+ string const allowed = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_%.+";
for (size_t i = 0; i < s.size(); ++i) {
if (allowed.find (s[i]) != string::npos) {
out += s[i];