Revert "Fix for issue #1802 - values in URLs are now properly encoded depending on whether they are in the path or query string. Slashes in path are not encoded allowing %o_path to be effectively used."

This reverts commit 53172db98494ead13b3ee78e4c6a3de823a53ff8.