From: [EMAIL PROTECTED] Operating system: FreeBSD and Windows 2000 PHP version: 4.0CVS-2002-05-23 PHP Bug Type: DOM XML related Bug description: dump_file doesn't work if path is not absolute
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 bug report at http://bugs.php.net/?id=17390&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17390&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17390&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17390&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17390&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17390&r=support Expected behavior: http://bugs.php.net/fix.php?id=17390&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17390&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17390&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17390&r=globals