Skip to content

Commit c84a2d3

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: parse cookie values containing the equal sign make some time dependent tests more resilient do not break when loading schemas from network paths on Windows
2 parents c788326 + e4e3e7e commit c84a2d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Loader/XmlFileLoader.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,8 @@ public function validateSchema(\DOMDocument $dom)
604604
array_shift($parts);
605605
$locationstart = 'phar:///';
606606
}
607+
} elseif ('\\' === \DIRECTORY_SEPARATOR && 0 === strpos($location, '\\\\')) {
608+
$locationstart = '';
607609
}
608610
$drive = '\\' === \DIRECTORY_SEPARATOR ? array_shift($parts).'/' : '';
609611
$location = $locationstart.$drive.implode('/', array_map('rawurlencode', $parts));

0 commit comments

Comments
 (0)