[icinga-checkins] icinga.org: icingaweb2/master: Response: Add ; charset= UTF-8 to the default content type

git at icinga.org git at icinga.org
Tue Nov 15 13:30:52 CET 2016


Module: icingaweb2
Branch: master
Commit: e75bfbc197e76327964167ff3f8e937a7c4bcdff
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=e75bfbc197e76327964167ff3f8e937a7c4bcdff

Author: Johannes Meyer <johannes.meyer at netways.de>
Date:   Tue Nov 15 13:30:16 2016 +0100

Response: Add ;charset=UTF-8 to the default content type

resolves #13117

---

 library/Icinga/Web/Response.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/Icinga/Web/Response.php b/library/Icinga/Web/Response.php
index d58ca4e..cfe1be8 100644
--- a/library/Icinga/Web/Response.php
+++ b/library/Icinga/Web/Response.php
@@ -17,7 +17,7 @@ class Response extends Zend_Controller_Response_Http
      *
      * @var string
      */
-    const DEFAULT_CONTENT_TYPE = 'text/html';
+    const DEFAULT_CONTENT_TYPE = 'text/html; charset=UTF-8';
 
     /**
      * Auto-refresh interval



More information about the icinga-checkins mailing list