Fixed RetroShare links with "#" and "&" characters in the name.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4901 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-02-07 22:56:19 +00:00
parent 446db939b2
commit 886faa89ba

View File

@ -519,7 +519,7 @@ QString RetroShareLink::title() const
static QString encodeItem(QString item)
{
return item.replace(" ", "%20");
return item.replace(" ", "%20").replace("&", "%26").replace("#", "%23");
}
QString RetroShareLink::toString() const