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

%2B Double Decode When Passing To pattern/target Controller? #46

Open
tmilker opened this issue Jul 25, 2024 · 1 comment
Open

%2B Double Decode When Passing To pattern/target Controller? #46

tmilker opened this issue Jul 25, 2024 · 1 comment

Comments

@tmilker
Copy link

tmilker commented Jul 25, 2024

If I have a get /foo/:bar do |bar| in the root controller and send it something like "test%2Bcall" then bar will correctly equal "test+call". However, if I have a target controller class that receives the pattern /foo with a get /:bar do |bar| and send it the same thing, then bar will incorrectly equal "test call", the plus is decoded into a space. Is there any way to get plus signs to survive the journey?

@Wardrop
Copy link
Owner

Wardrop commented Aug 9, 2024

@tmilker I haven't had time (yet) to investigate this, but will hopefully find time in the next week.

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

2 participants