Skip to content

Commit e3d08ee

Browse files
Merge branch '5.4' into 6.0
* 5.4: [Mailer] fix tests [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 13748ef + 2062f14 commit e3d08ee

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
@@ -680,7 +680,7 @@ private function shouldEnableEntityLoader(): bool
680680
});
681681
$schema = '<?xml version="1.0" encoding="utf-8"?>
682682
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
683-
<xsd:include schemaLocation="file:///'.str_replace('\\', '/', $tmpfile).'" />
683+
<xsd:include schemaLocation="file:///'.rawurlencode(str_replace('\\', '/', $tmpfile)).'" />
684684
</xsd:schema>';
685685
file_put_contents($tmpfile, '<?xml version="1.0" encoding="utf-8"?>
686686
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

0 commit comments

Comments
 (0)