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

Bug #10614 $uri variable gets set wrongly
Submitted: 2007-04-04 20:10 UTC
From: jorrit Assigned: hholzgra
Status: Closed Package: HTTP_WebDAV_Server (version 1.0.0RC4)
PHP Version: 4.4.3 OS: Irrelevant
Roadmaps: 1.0    
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 - 32 = ?

 
 [2007-04-04 20:10 UTC] jorrit (Jorrit Schippers)
Description: ------------ It's a small issue, but on line 147 the variable $uri gets set to http://Array[HTTP_HOST]Array[SCRIPT_NAME] instead of for instance http://example.com/dav/ The line has to be changed into: $uri.= '//'.$this->_SERVER['HTTP_HOST'].$this->_SERVER['SCRIPT_NAME']

Comments

 [2007-04-05 23:23 UTC] hholzgra (Hartmut Holzgraefe)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.