You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/digikam/files/digikam-6.2.0-googlephoto-u...

26 lines
1.0 KiB

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