[geeklog-cvs] geeklog: Send a Content-Type header in COM_refresh

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Mar 21 15:02:49 EDT 2010


changeset 7821:125ae60f37bd
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/125ae60f37bd
user: Dirk Haun <dirk at haun-online.de>
date: Sun Mar 21 18:27:49 2010 +0100
description:
Send a Content-Type header in COM_refresh

diffstat:

 public_html/lib-common.php |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 7c620f9aae84 -r 125ae60f37bd public_html/lib-common.php
--- a/public_html/lib-common.php	Sun Mar 21 10:15:21 2010 +0100
+++ b/public_html/lib-common.php	Sun Mar 21 18:27:49 2010 +0100
@@ -2824,6 +2824,8 @@
 */
 function COM_refresh($url)
 {
+    header('Content-Type: text/html; charset=' . COM_getCharset());
+
     return "<html><head><meta http-equiv=\"refresh\" content=\"0; URL=$url\"></head></html>\n";
 }
 



More information about the geeklog-cvs mailing list