Allow + in DCP names for ISDCF RU rating strings.
[dcpomatic.git] / src / lib / util.cc
index abfdd2767c31a50f6a3342c684cc9fcea9a9c960..3eb5ee30e09e06831924988fd7d85e37f9d81ab4 100644 (file)
@@ -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];