Bug with PRG::CommonProcess not encoding inputs #24

Closed
ajibarra opened this Issue Oct 4, 2011 · 2 comments

Projects

None yet

2 participants

@ajibarra
Cake Development Corporation member

Reported by Dunhamzzz | July 26th, 2011 @ 04:43 AM

There is a problem with the PRG::commonProcess() in that it does not encode the inputs it passes from $_GET to $params.

If an URL contains a % sign, it breaks apache(possibly others) and it throws a 400 bad request error. This problem arises when someone inputs a % sign and the PRG:commonProcess() turns this from ?foo=bar% to /foo:bar%

@burzum

This has been tracked down to be an issue with the cores router not urlencoding the named params. I could not yet figure out how to fix it in the plugin if that's even possible.

@ajibarra
Cake Development Corporation member

Closing issue according to @burzum 's comment

@ajibarra ajibarra closed this Jul 13, 2012
@burzum burzum pushed a commit to burzum/search that referenced this issue Dec 16, 2015
@ADmad ADmad Allow skipping finders with with empty value in query string.
Closes #24
8e8213e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment