version 0.2.18
[fms.git] / src / freenet / identityxml.cpp
index 3f8ec17..4b0fa23 100644 (file)
@@ -80,7 +80,7 @@ const bool IdentityXML::ParseXML(const std::string &xml)
                txt=hnd.FirstChild("Identity").FirstChild("FreesiteEdition").FirstChild().ToText();\r
                if(txt)\r
                {\r
-                       std::string editionstr=txt->ValueStr();\r
+                       std::string editionstr=SanitizeSingleString(txt->ValueStr());\r
                        StringFunctions::Convert(editionstr,m_freesiteedition);\r
                }\r
 \r