Added percent encoding to parameters in HTTP requests