Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

route problem with url encoded forward slashes #22945

Closed
gharabaghi opened this issue Jan 28, 2018 · 2 comments
Closed

route problem with url encoded forward slashes #22945

gharabaghi opened this issue Jan 28, 2018 · 2 comments

Comments

@gharabaghi
Copy link

gharabaghi commented Jan 28, 2018

I wrote a route for test sending hashed values in url. and it doesnt work!
My route:

Route::get('/test/{value}','Controller@index2');

My controller function:
public function index2(Request $request , $value){ dd(urldecode($value));}
If i send for example '$' character which is encoded ('%24') index2 function shows it. but with '/' character ('%2f') it returns 404 page.

@X-Coder264
Copy link
Contributor

#22125 😉

@themsaid
Copy link
Member

duplicate of #22125

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

No branches or pull requests

3 participants