Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 4e6f790

Browse files
committed
direct %23
1 parent 4efe109 commit 4e6f790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Uri.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ private function splitQueryValue($value)
627627
private function filterFragment($fragment)
628628
{
629629
if (! empty($fragment) && strpos($fragment, '#') === 0) {
630-
$fragment = urlencode('#') . substr($fragment, 1);
630+
$fragment = '%23' . substr($fragment, 1);
631631
}
632632

633633
return $this->filterQueryOrFragment($fragment);

0 commit comments

Comments
 (0)