From 86ef75d2d857309257086b94434564997976c912 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 22 Apr 2018 21:34:34 +0100 Subject: [PATCH] Allow + in DCP names for ISDCF RU rating strings. --- src/lib/util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.30.2