Modified parse_command to unquote URL properly. #6368

Added test.