From: Carl Hetherington Date: Sun, 22 Apr 2018 20:34:34 +0000 (+0100) Subject: Allow + in DCP names for ISDCF RU rating strings. X-Git-Tag: v2.13.16~1 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=86ef75d2d857309257086b94434564997976c912 Allow + in DCP names for ISDCF RU rating strings. --- 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];