From 70dc23f996683a59dd85db74e8f15e49c4f7b9fd Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 1 May 2022 13:43:29 +0200 Subject: Improve testSerializeJsonString unit tests this also removes the requirement that / is escaped, there is no reason for doing so. --- src/util/serialize.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/util') diff --git a/src/util/serialize.cpp b/src/util/serialize.cpp index 281061229..32e0a8936 100644 --- a/src/util/serialize.cpp +++ b/src/util/serialize.cpp @@ -136,9 +136,6 @@ std::string serializeJsonString(const std::string &plain) case '\\': os << "\\\\"; break; - case '/': - os << "\\/"; - break; case '\b': os << "\\b"; break; -- cgit v1.2.3