mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05:00
Trimmed whitespace from URL to fix internal retroshare links.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7970 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6d26eda0f9
commit
f371ca6a98
@ -196,7 +196,7 @@ void PostedItem::fill()
|
||||
// The only combination that seems to work: load as EncodedUrl, extract toEncoded().
|
||||
QUrl url;
|
||||
QByteArray urlarray(mPost.mLink.c_str());
|
||||
url.setEncodedUrl(urlarray);
|
||||
url.setEncodedUrl(urlarray.trimmed());
|
||||
QString urlstr = "Invalid Link";
|
||||
QString sitestr = "Invalid Link";
|
||||
bool urlOkay = url.isValid();
|
||||
|
Loading…
Reference in New Issue
Block a user