Skip to content

Commit 9aa3c0f

Browse files
Merge branch '6.0' into 6.1
* 6.0: [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 ffaa7b4 + e3d08ee commit 9aa3c0f

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

0 commit comments

Comments
 (0)