Modified parse_command to unquote URL properly. #6368

Added test.
test url that is just encoded once