Fixes encoding of URL parameters.