Replies: 1 comment
-
|
@crynobone if I wanted to discuss something, I would have made this a discussion to begin with. I'm reporting something that is broken, but sure just ignore it. Whatever |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Laravel Version
12.37.0
PHP Version
8.4.14
Database Driver & Version
No response
Description
I was surprised to find out that this function does not URL-encode passed parameters for me. I'm now having to go through my codebase and manually encode things, after an un-encoded value sent users to an invalid URL.
At the very least, the documentation should mention this shortcoming.
Ideally, a fourth argument would be added to
route()to enable proper URL encoding. Something like:Steps To Reproduce
Result:
/e/foo/barExpected result:
/e/foo%2fbarBeta Was this translation helpful? Give feedback.
All reactions