mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Correctly quote a double quote in the message
Otherwise the message on Facebook will end at the first double quote. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fd33d6aa3f
commit
646fa22c01
1 changed files with 1 additions and 2 deletions
|
@ -212,8 +212,7 @@ void FacebookManager::sendDive()
|
|||
QUrl url("https://graph.facebook.com/v2.2/" + QString(prefs.facebook.album_id) + "/photos?" +
|
||||
"&access_token=" + QString(prefs.facebook.access_token) +
|
||||
"&source=image" +
|
||||
"&message=" + dialog.text());
|
||||
|
||||
"&message=" + dialog.text().replace(""", "%22"));
|
||||
|
||||
QNetworkAccessManager *am = new QNetworkAccessManager(this);
|
||||
QNetworkRequest request(url);
|
||||
|
|
Loading…
Add table
Reference in a new issue