X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Ffreenet%2Fidentityintroductionxml.cpp;h=f45f29db1e973f268f034c9d8b12c42dcfc9daf2;hb=1230cc420c955e75051d011d964bc68f061ba08c;hp=29e14090d259bc73818aafe696f4bbc8e9fe96c7;hpb=6836fbb5db8464f56e682989996b2210b14231d0;p=fms.git diff --git a/src/freenet/identityintroductionxml.cpp b/src/freenet/identityintroductionxml.cpp index 29e1409..f45f29d 100644 --- a/src/freenet/identityintroductionxml.cpp +++ b/src/freenet/identityintroductionxml.cpp @@ -48,7 +48,7 @@ const bool IdentityIntroductionXML::ParseXML(const std::string &xml) txt=hnd.FirstChild("IdentityIntroduction").FirstChild("Identity").FirstChild().ToText(); if(txt) { - m_identity=txt->ValueStr(); + m_identity=SanitizeSingleString(txt->ValueStr()); } ssk.SetPublicKey(m_identity); if(ssk.ValidPublicKey()==false)