X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffreenet%2Fidentityxml.cpp;h=4b0fa237dbd58adc16dbe5310c51be11005e2bb3;hb=1230cc420c955e75051d011d964bc68f061ba08c;hp=3f8ec1790cd00665fb0c3639b5ed0e366978c950;hpb=6836fbb5db8464f56e682989996b2210b14231d0;p=fms.git diff --git a/src/freenet/identityxml.cpp b/src/freenet/identityxml.cpp index 3f8ec17..4b0fa23 100644 --- a/src/freenet/identityxml.cpp +++ b/src/freenet/identityxml.cpp @@ -80,7 +80,7 @@ const bool IdentityXML::ParseXML(const std::string &xml) txt=hnd.FirstChild("Identity").FirstChild("FreesiteEdition").FirstChild().ToText(); if(txt) { - std::string editionstr=txt->ValueStr(); + std::string editionstr=SanitizeSingleString(txt->ValueStr()); StringFunctions::Convert(editionstr,m_freesiteedition); }