encode
encode URI entities while preserving URL separators
Example output: https://merged.sh/path%20space