summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/syncevo/SafeConfigNode.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syncevo/SafeConfigNode.cpp b/src/syncevo/SafeConfigNode.cpp
index 5fba4f2c..f3d2f4bc 100644
--- a/src/syncevo/SafeConfigNode.cpp
+++ b/src/syncevo/SafeConfigNode.cpp
@@ -94,6 +94,7 @@ string SafeConfigNode::escape(const string &str, bool allSpaces, bool strictMode
c == '_') :
!(((isLeadingSpace || allSpaces) && isspace(c)) ||
c == '=' ||
+ c == '!' ||
c == '\r' ||
c == '\n')) {
res += c;