diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2007-05-16 23:04:41 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2007-05-16 23:04:41 +0000 |
commit | 5db72ac505e7e1948e48afdcd42e2e1eb4c01628 (patch) | |
tree | 8d24ea50f80ac1771f42fa5884a0e9ef86ddb1d5 | |
parent | 5608a21fee3946d4962adf48c8251c0999a70ae7 (diff) | |
download | phpicalendar-5db72ac505e7e1948e48afdcd42e2e1eb4c01628.tar.gz phpicalendar-5db72ac505e7e1948e48afdcd42e2e1eb4c01628.tar.bz2 phpicalendar-5db72ac505e7e1948e48afdcd42e2e1eb4c01628.zip |
modify README
-rw-r--r-- | README | 5 | ||||
-rw-r--r-- | calendars/publish.php | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -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) ) ); } |