[icinga-checkins] icinga.org: icinga-core/mfriedrich/core: added charset to html metadata in html header

git at icinga.org git at icinga.org
Wed Jun 29 13:50:45 CEST 2011

Module: icinga-core
Branch: mfriedrich/core
Commit: 6fbdc6e967da7008ccad8d43341a2ca7531e665b
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=6fbdc6e967da7008ccad8d43341a2ca7531e665b

Author: Ricardo Bartels <ricardo at bitchbrothers.com>
Date:   Tue Jun 14 19:41:26 2011 +0200

added charset to html metadata in html header

IE6 and IE7 don't recognize charset in HTTP header properly.


 cgi/cgiutils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cgi/cgiutils.c b/cgi/cgiutils.c
index aed4a5c..f9a0d24 100644
--- a/cgi/cgiutils.c
+++ b/cgi/cgiutils.c
@@ -973,6 +973,7 @@ void document_header(int cgi_id, int use_stylesheet){
 	printf("<link rel=\"shortcut icon\" href=\"%sfavicon.ico\" type=\"image/ico\">\n",url_images_path);
 	printf("<META HTTP-EQUIV='Pragma' CONTENT='no-cache'>\n");
+	printf("<meta http-equiv=\"content-type\" content=\"text/html; charset=%s\">",http_charset);
 	if(cgi_id == STATUS_CGI_ID){

More information about the icinga-checkins mailing list