blob: 1c182ed7c9e7f2683d5f8fddad37d01e9a283bd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From 19490eb10de0444219e8b525bb75513c046d184d Mon Sep 17 00:00:00 2001
From: Maik Qualmann <metzpinguin@gmail.com>
Date: Wed, 7 Aug 2019 19:52:13 +0200
Subject: [PATCH] fix upload error to Google Photo when description contains
quotes BUGS: 410692 FIXED-IN: 6.3.0
---
core/dplugins/generic/webservices/google/gswindow.cpp | 1 +
1 files changed, 1 insertions(+)
diff --git a/core/dplugins/generic/webservices/google/gswindow.cpp b/core/dplugins/generic/webservices/google/gswindow.cpp
index a03e683e65..a80eac5cdb 100644
--- a/core/dplugins/generic/webservices/google/gswindow.cpp
+++ b/core/dplugins/generic/webservices/google/gswindow.cpp
@@ -594,6 +594,7 @@ void GSWindow::slotStartTransfer()
QStringList descriptions = QStringList() << info.title() << info.comment();
descriptions.removeAll(QLatin1String(""));
temp.description = descriptions.join(QLatin1String("\n\n"));
+ temp.description.replace(QLatin1Char('"'), QLatin1String("\\\""));
break;
}
--
2.22.0
|