Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.1.8

Bug #4047 Parse error: parse error in /usr/share/pear/Auth/HTTP.php on line 247
Submitted: 2005-04-04 06:17 UTC
From: pear at sapphire dot no Assigned: hirokawa
Status: Closed Package: Auth_HTTP
PHP Version: Irrelevant OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 45 - 9 = ?

 
 [2005-04-04 06:17 UTC] pear at sapphire dot no
Description: ------------ After upgrading from Auth_HTTP 2.1.4 to 2.1.5, all applications using Auth_HTTP fails with the following error: Parse error: parse error in /usr/share/pear/Auth/HTTP.php on line 247 The reason for this error is a missing ")" on line 247. This patch fixes this error: --- HTTP.php.orig 2005-04-04 08:04:52.000000000 +0200 +++ HTTP.php 2005-04-04 08:04:11.000000000 +0200 @@ -244,7 +244,7 @@ $this->password = ''; $this->digest_header = null; - if (!empty($this->server['PHP_AUTH_DIGEST']) { + if (!empty($this->server['PHP_AUTH_DIGEST'])) { $this->digest_header = substr($this->server['PHP_AUTH_DIGEST'], strpos($this->server['PHP_AUTH_DIGEST'],' ')+1); } else {

Comments

 [2005-04-04 12:50 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!