alias()/reroute()
and params requiring proper urlencode()
#345
Labels
alias()/reroute()
and params requiring proper urlencode()
#345
I think there is a problem with
alias()
/reroute()
function when it build the url using known parameter from current request, and when a parameter need to be url encoded.Actual result
An "invalid" url as it doesn't properly use
urlencode()
on the url parametersex:
/a/bar%25
/a/bar%
<- the percent sign is not encodedExpected result
A valid url show be generated, with the parameter properly encoded
ex:
/a/bar%25
/a/bar%25
Step to reproduce
I've extracted this part of code to reproduce the issue:
Notes
I had the expected result if I use
urlencode()
inthe return statements of the anonymous function inside thebuild()
function.The text was updated successfully, but these errors were encountered: