Skip to content

Percent signs are not escaped in links from directory listings #22

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Put a file named "15%20Y.txt in a directory associated with a File domain 
(e.g. "/dir/").
2. View the directory listing (i.e. "/dir/"). 
3. Click on the "15%20Y.txt" link.


What is the expected output? What do you see instead?

  I expect the contents of the file. I see an error message saying the file whose name I just clicked on doesn't exist. The name has had the percent sign and following digits replaced with the character encoded by the value of those digits.

What version of the product are you using? On what operating system?

  Wub-4.0.0 on MS Windows XP Professional

Please provide any additional information below.

  The URL decoding evidently interprets escape sequences properly. It seems that the URL link in the directory display merely does not escape characters that it needs to. Percent signs in the link are the only non-cosmetic problem I've seen, but HTML entities in the file name (e.g. é.txt) are understandably rendered as the corresponding character by the browser. Perhaps they should be "sanitized" ("armoured"?) for display.

Original issue reported on code.google.com by Qunc...@gmail.com on 19 Aug 2010 at 1:45

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions