From 2f0e15bc255bb50ab4499ac52c78c963ddb8cb60 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Tue, 19 Jun 2012 02:52:54 +0300 Subject: [PATCH 1/2] Change MIME type for PNG images to image/png This is the official MIME type assigned by the IANA (see http://www.iana.org/assignments/media-types/image/png). --- src/webui/httpresponsegenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/httpresponsegenerator.cpp b/src/webui/httpresponsegenerator.cpp index 7f7ac267f..3c89cf5a3 100644 --- a/src/webui/httpresponsegenerator.cpp +++ b/src/webui/httpresponsegenerator.cpp @@ -60,7 +60,7 @@ void HttpResponseGenerator::setContentTypeByExt(const QString& ext) { return; } if (ext == "png") { - setContentType("image/x-png"); + setContentType("image/png"); return; } } From 2f6ef9af515b963c2b1cc631f3645caf8386bd16 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Wed, 20 Jun 2012 07:18:07 +0300 Subject: [PATCH 2/2] Make mascot image URL relative --- src/webui/html/about.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/html/about.html b/src/webui/html/about.html index 4a750b580..4a9cf4859 100644 --- a/src/webui/html/about.html +++ b/src/webui/html/about.html @@ -1,4 +1,4 @@ - +

qBittorrent ${VERSION} (Web UI)

Copyright (c) 2011 Christophe Dumez

Homepage: http://www.qbittorrent.com