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 34a3e07 commit 4dbda0bCopy full SHA for 4dbda0b
main/Net/GenericUri.class.php
@@ -778,15 +778,15 @@ public function normalize($matched)
778
if (mb_strlen($char) == 1) {
779
if (
780
!preg_match(
781
- '/^['.$this->unreservedPartChars.']$/',
+ '/^['.$this->unreservedPartChars.']$/u',
782
$char
783
)
784
785
$char = rawurlencode($char);
786
} else {
787
788
preg_match(
789
- '/^['.GenericUri::CHARS_UNRESERVED.']$/',
+ '/^['.GenericUri::CHARS_UNRESERVED.']$/u',
790
rawurldecode($char)
791
792
@@ -797,4 +797,4 @@ public function normalize($matched)
797
return $char;
798
}
799
800
-?>
+?>
0 commit comments