Bug #17390 Updated: dump_file doesn't work if path is not absolute
| From: | rrichards at digarc dot com | Date: | Wed, 05 Jun 2002 16:40:37 +0000 |
| Subject: | Bug #17390 Updated: dump_file doesn't work if path is not absolute | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9558@lists.php.net to get a copy of this message | ||
ID: 17390
Updated by: rrichards@digarc.com
Reported By: sysadmin@alexdupre.com
Status: Open
Bug Type: DOM XML related
Operating System: FreeBSD and Windows 2000
PHP Version: 4.0CVS-2002-05-23
New Comment:
this is a possible apache2 problem (BSD running apache2). when run with
apache 1.3 it works correctly. unable to test with apache 2 now to
confirm. the windows issue was due to the libxml version. once upgraded
it works fine.
Previous Comments:
------------------------------------------------------------------------
[2002-06-04 14:56:25] sysadmin@alexdupre.com
2.4.20 on FreeBSD, 2.4.9 on Windows.
------------------------------------------------------------------------
[2002-06-04 14:42:53] rrichards@digarc.com
what version of libxml2 are you running? there was a bug in it which
would causes this error and has been fixed since 2.2.12.
------------------------------------------------------------------------
[2002-05-23 11:02:15] sysadmin@alexdupre.com
I think to have found a bug in the dump_file() function of the domxml
extension. If the path passed to the function is relative, the file is
not saved anywhere (first issue) and the function returns anyway the
number of bytes written (second issue).
From the sources it seems that dump_file simply calls xmlSaveFile from
libxml2, so maybe a path check should be done before the call.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17390&edit=1