Fixed RetroShare links with "#" and some other "bad" characters in the file name.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3966 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2011-01-15 00:25:25 +00:00
parent 693bf4dd7c
commit 70c276fec6
2 changed files with 14 additions and 6 deletions

View file

@ -67,7 +67,7 @@ class RetroShareLink
/// returns the string retroshare://file?name=&size=&hash=
/// retroshare://person?name=&hash=
QString toString() const ;
QString toString(bool encoded = true) const ;
/// returns the string <a href="retroshare://file?name=&size=&hash=">name</a>
/// <a href="retroshare://person?name=&hash=">name@hash</a>
QString toHtml() const ;