Fix for decoding query parameters containing special characters.

It looks like query parameters aren't being decoded properly when they contain special characters (such as encoded '+' or '='). I think this change fixes the problem.