Skip to content

[5.3] Decode URI before dividing into segments#15524

Merged
taylorotwell merged 1 commit into
laravel:5.3from
themsaid:urlDecode
Sep 20, 2016
Merged

[5.3] Decode URI before dividing into segments#15524
taylorotwell merged 1 commit into
laravel:5.3from
themsaid:urlDecode

Conversation

@themsaid

@themsaid themsaid commented Sep 20, 2016

Copy link
Copy Markdown
Member

For a URL like http://domain.com/رحاب

Request::segment(1) returns %D8%B1%D8%AD%D8%A7%D8%A8

This PR decodes the URI before dividing into segments.

@taylorotwell taylorotwell merged commit 582a5cf into laravel:5.3 Sep 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants