Skip to content

Commit 3d106ae

Browse files
committed
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3: Fix bug 61720 ext\libxml\tests\bug61367-read.phpt fails
2 parents 4ac6862 + bceafee commit 3d106ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/libxml/tests/bug61367-read.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class StreamExploiter {
1515
$doc->resolveExternals = true;
1616
$doc->substituteEntities = true;
1717
$dir = htmlspecialchars(dirname(getcwd()));
18+
$dir = str_replace('\\', '/', $dir); // fix for windows
1819
$doc->loadXML( <<<XML
1920
<!DOCTYPE doc [
2021
<!ENTITY file SYSTEM "file:///$dir/bad">

0 commit comments

Comments
 (0)