option to disable encoding slashes for url params

fixes #1388