[geeklog-cvs] geeklog: Reverted a change in 1.7.0 that would send a Content-Ty...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Sep 5 07:05:30 EDT 2010


changeset 7972:c5a608f996c1
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/c5a608f996c1
user: Dirk Haun <dirk at haun-online.de>
date: Sun Sep 05 13:04:57 2010 +0200
description:
Reverted a change in 1.7.0 that would send a Content-Type header when calling COM_refresh since this conflicts with some plugins (e.g. the Forum)

diffstat:

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

diffs (24 lines):

diff -r c3f68c367bac -r c5a608f996c1 public_html/docs/history
--- a/public_html/docs/history	Sun Sep 05 10:58:46 2010 +0200
+++ b/public_html/docs/history	Sun Sep 05 13:04:57 2010 +0200
@@ -3,6 +3,8 @@
 Sep ?, 2010 (1.7.1rc1)
 -----------
 
+- Reverted a change in 1.7.0 that would send a Content-Type header when calling
+  COM_refresh since this conflicts with some plugins (e.g. the Forum) [Dirk]
 - Fixed wrong view after posting a comment on a poll (bug #0001080, patch
   provided by Wojtek Szkutnik)
 - Fixed language in the dropdown for the permanent cookie in the Configuration
diff -r c3f68c367bac -r c5a608f996c1 public_html/lib-common.php
--- a/public_html/lib-common.php	Sun Sep 05 10:58:46 2010 +0200
+++ b/public_html/lib-common.php	Sun Sep 05 13:04:57 2010 +0200
@@ -2835,8 +2835,6 @@
 */
 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