[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bkdelibs=5D_kioslave/http=3A_Workaround_yet_another_?=
From: Dawit Alemayehu <adawit () kde ! org>
Date: 2011-06-17 3:00:02
Message-ID: 20110617030002.85B74A60A4 () git ! kde ! org
[Download RAW message or body]
Git commit b58d92b29d6ccfb76151d22c463fb906cbd405a4 by Dawit Alemayehu.
Committed on 17/06/2011 at 04:52.
Pushed by adawit into branch 'master'.
Workaround yet another broken server implementation that sends image/x-bmp
instead of image/bmp for BMP images.
BUG: 273238
FIXED-IN: 4.6.5
(cherry picked from commit a06f767ed7ba28e2e45b5281f40dbb91ae0406ea)
M +2 -0 kioslave/http/http.cpp
http://commits.kde.org/kdelibs/b58d92b29d6ccfb76151d22c463fb906cbd405a4
diff --git a/kioslave/http/http.cpp b/kioslave/http/http.cpp
index dab115c..46d2a01 100644
--- a/kioslave/http/http.cpp
+++ b/kioslave/http/http.cpp
@@ -2637,6 +2637,8 @@ void HTTPProtocol::fixupResponseMimetype()
m_mimeType = QLatin1String("audio/mpeg");
else if (m_mimeType == QLatin1String("audio/microsoft-wave"))
m_mimeType = QLatin1String("audio/x-wav");
+ else if (m_mimeType == QLatin1String("image/x-ms-bmp"))
+ m_mimeType = QLatin1String("image/bmp");
// Crypto ones....
else if (m_mimeType == QLatin1String("application/pkix-cert") ||
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic