GNOME Bugzilla – Bug 563302
soup_form_decode() returns incorrect results when string contains URL encoded characters
Last modified: 2008-12-05 03:58:56 UTC
The location of the parameter value is set prior to decoding URL encoded characters. If a key contains a URL encoded value, the location changes, the key contains extra characters, and the beginning of the value is truncated.
Created attachment 123972 [details] [review] The least invasive fix I could think of.
That patch won't quite work because it would do the wrong thing if the parameter name had a %-encoded "=" in it. But I've fixed it now in svn, and added a regression test for that case. The fix will eventually make it into 2.24.3 and 2.25.3. Thanks for the bug report.