What steps will reproduce the problem?
1. uri handler with uri "/uri?q=plus%2bone&p=two"
2. mg_get_var(conn, "q") returns "plus+one&" (Note, incorrect trailing "&")
3. with "/uri?q=plus%2bone&p=plus%2btwo" mg_get_var(conn, "q") gives a crash
What is the expected output? What do you see instead?
get_var("q", "/uri?q=plus%2bone&p=two", ...)
should return "plus+one"
get_var("q", "/uri?q=plus%2bone&p=plus%2btwo", ...)
should not crash
What version of the product are you using? On what operating system?
2.4
Please provide any additional information below.
Original issue reported on code.google.com by muchadhe...@gmail.com on 11 Mar 2009 at 2:31
Original issue reported on code.google.com by
muchadhe...@gmail.com
on 11 Mar 2009 at 2:31