mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
3 patches from AsamK:
* fixed utf8 in dropping links to channels * fixed pasting cert links in the friend list * added code to allow pasting GPG certificates missing a newline at the end. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5064 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
08a52dc369
commit
0778e8f691
8 changed files with 34 additions and 26 deletions
|
@ -1127,7 +1127,8 @@ static bool splitCert(const std::string &certstr, std::string &cert, std::string
|
|||
if (pos != std::string::npos) {
|
||||
pos += pgpend.length();
|
||||
cert = certstr.substr(0, pos);
|
||||
peerInfo = certstr.substr(pos + 1);
|
||||
if (pos + 1 < certstr.length())
|
||||
peerInfo = certstr.substr(pos + 1);
|
||||
}
|
||||
|
||||
return !cert.empty();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue