From 5db72ac505e7e1948e48afdcd42e2e1eb4c01628 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Wed, 16 May 2007 23:04:41 +0000 Subject: modify README --- README | 5 ++++- calendars/publish.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README b/README index 89e771c..c7f19e9 100644 --- a/README +++ b/README @@ -81,7 +81,10 @@ COPYING for more information about our license. Changes: -------- -cvs +2.23 + Add input sanitizer - important for blocking XSS attacks + Change template.php to reduce memory usage + Change template.php to display locations in month view Change template.php display in print and month views of events that span multiple days to not repeat listing Fix (I hope) utf-8 rendering problems in event.php Allow admins to set whether link from rss feed goes to day.php or event.php diff --git a/calendars/publish.php b/calendars/publish.php index be0a19c..7f6c230 100644 --- a/calendars/publish.php +++ b/calendars/publish.php @@ -101,7 +101,7 @@ if(defined('PHPICALENDAR_LOG_PUBLISHING') && PHPICALENDAR_LOG_PUBLISHING == 1) { if (!isset($_SERVER['REMOTE_USER'])) { // Require authentication - if (!isset($_SERVER['HTTP_AUTHORIZATION'])) { + if (isset($_SERVER['HTTP_AUTHORIZATION'])) { list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode( ':', base64_decode( substr($_SERVER['HTTP_AUTHORIZATION'], 6) ) ); } -- cgit v1.2.3