diff options
Diffstat (limited to 'kde-apps/messagelib/files/messagelib-18.04.3-CVE-2018-19516.patch')
-rw-r--r-- | kde-apps/messagelib/files/messagelib-18.04.3-CVE-2018-19516.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/kde-apps/messagelib/files/messagelib-18.04.3-CVE-2018-19516.patch b/kde-apps/messagelib/files/messagelib-18.04.3-CVE-2018-19516.patch deleted file mode 100644 index 4d3fac7334b6..000000000000 --- a/kde-apps/messagelib/files/messagelib-18.04.3-CVE-2018-19516.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/messageviewer/src/messagepartthemes/default/defaultrenderer.cpp b/messageviewer/src/messagepartthemes/default/defaultrenderer.cpp -index 0d209524..0dad4174 100644 ---- a/messageviewer/src/messagepartthemes/default/defaultrenderer.cpp -+++ b/messageviewer/src/messagepartthemes/default/defaultrenderer.cpp -@@ -299,6 +299,12 @@ QString processHtml(const QString &htmlSource, QString &extraHead) - return htmlSource; - } - extraHead = s.mid(6, idx - 6); -+ -+ //Don't authorize to refresh content. -+ if (s.contains(QStringLiteral("http-equiv=\"REFRESH\""), Qt::CaseInsensitive)) { -+ extraHead.clear(); -+ } -+ - s = s.mid(idx + 7).trimmed(); - } - |