We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c38f36 commit 2ac82acCopy full SHA for 2ac82ac
src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php
@@ -676,7 +676,7 @@ private function shouldEnableEntityLoader(): bool
676
});
677
$schema = '<?xml version="1.0" encoding="utf-8"?>
678
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
679
- <xsd:include schemaLocation="file:///'.str_replace('\\', '/', $tmpfile).'" />
+ <xsd:include schemaLocation="file:///'.rawurlencode(str_replace('\\', '/', $tmpfile)).'" />
680
</xsd:schema>';
681
file_put_contents($tmpfile, '<?xml version="1.0" encoding="utf-8"?>
682
0 commit comments