URL encoding / decoding added to request parameter to ensure that
unencoded queries in the url did not cause a server exception.