projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f47861
)
Allow + in DCP names for ISDCF RU rating strings.
author
Carl Hetherington
<cth@carlh.net>
Sun, 22 Apr 2018 20:34:34 +0000
(21:34 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 22 Apr 2018 20:34:34 +0000
(21:34 +0100)
src/lib/util.cc
patch
|
blob
|
history
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index abfdd2767c31a50f6a3342c684cc9fcea9a9c960..3eb5ee30e09e06831924988fd7d85e37f9d81ab4 100644
(file)
--- 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];