summaryrefslogtreecommitdiff
path: root/ext/libxml/tests/bug61367-read.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libxml/tests/bug61367-read.phpt')
-rw-r--r--ext/libxml/tests/bug61367-read.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/libxml/tests/bug61367-read.phpt b/ext/libxml/tests/bug61367-read.phpt
index 722b8e704..3deecfc50 100644
--- a/ext/libxml/tests/bug61367-read.phpt
+++ b/ext/libxml/tests/bug61367-read.phpt
@@ -15,6 +15,7 @@ class StreamExploiter {
$doc->resolveExternals = true;
$doc->substituteEntities = true;
$dir = htmlspecialchars(dirname(getcwd()));
+ $dir = str_replace('\\', '/', $dir); // fix for windows
$doc->loadXML( <<<XML
<!DOCTYPE doc [
<!ENTITY file SYSTEM "file:///$dir/bad">