Skip to content

Commit 2062f14

Browse files
Merge branch '4.4' into 5.4
* 4.4: [HttpFoundation] Prevent PHP Warning: Session ID is too long or contains illegal characters [Messenger] fix test [Messenger] Ceil waiting time when multiplier is a float on retry Spaces in system temp folder path cause deprecation errors in php 8
2 parents 191d0ff + 90ef4f5 commit 2062f14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loader/XmlFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ private function shouldEnableEntityLoader(): bool
687687
});
688688
$schema = '<?xml version="1.0" encoding="utf-8"?>
689689
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
690-
<xsd:include schemaLocation="file:///'.str_replace('\\', '/', $tmpfile).'" />
690+
<xsd:include schemaLocation="file:///'.rawurlencode(str_replace('\\', '/', $tmpfile)).'" />
691691
</xsd:schema>';
692692
file_put_contents($tmpfile, '<?xml version="1.0" encoding="utf-8"?>
693693
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

0 commit comments

Comments
 (0)