mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
446db939b2
commit
886faa89ba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user