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

Bug #14088 fopen mode 'w' should truncate file
Submitted: 2008-06-06 06:38 UTC
From: kawai Assigned: hholzgra
Status: Closed Package: HTTP_WebDAV_Client (version CVS)
PHP Version: 5.2.6 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2008-06-06 06:38 UTC] kawai (Hiroaki Kawai)
Description: ------------ stream_open with mode 'w' cause HTTP PUT request. PUT request should be set the file length 0. Test script: --------------- require_once('HTTP/WebDAV/Client.php'); $data="hello world"; file_put_contents('webdav://example.jp/dav/test.txt',$data);

Comments

 [2008-06-12 10:41 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.