Closed
Bug 750515
Opened 12 years ago
Closed 8 years ago
Correctly sanitize filenames for natively-installed webapps on Windows
Categories
(Firefox Graveyard :: Web Apps, defect, P2)
Tracking
(blocking-kilimanjaro:+, firefox16 wontfix)
Tracking | Status | |
---|---|---|
firefox16 | --- | wontfix |
People
(Reporter: TimAbraldes, Assigned: bdahl)
References
Details
bug 747412 and bug 733482 both deal with filename sanitization in the webapps installer code. The existing code has other known issues (for example, it does not deal with reserved filenames on windows). We should write platform-specific code for filename sanitization that handles all the cases we can reasonably expect. Based on the information on Windows filenames provided here [http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx#file_and_directory_names], my suggestion is that we sanitize Windows filenames as follows: Remove unprintable chars 0x00-0x1f,0x7f Remove reserved chars <>:"/\|?* If the filename becomes blank or becomes a reserved device name (CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9) after sanitization, add an appropriate space (eg. " .exe", "con .exe", "com 1.exe", "lpt 7.exe")
Updated•12 years ago
|
blocking-kilimanjaro: --- → +
Updated•12 years ago
|
Whiteboard: [marketplace-beta-]
Updated•12 years ago
|
Priority: -- → P2
Updated•12 years ago
|
Target Milestone: --- → Firefox 15
Updated•12 years ago
|
Whiteboard: [marketplace-beta-]
Updated•12 years ago
|
Target Milestone: Firefox 15 → Firefox 16
Updated•12 years ago
|
QA Contact: jsmith
Updated•12 years ago
|
status-firefox16:
--- → wontfix
Updated•11 years ago
|
Assignee: felipc → nobody
Updated•11 years ago
|
Status: ASSIGNED → NEW
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → bdahl
Comment 3•8 years ago
|
||
Per bug 1238079, we're going to disable the desktop web runtime and remove it from the codebase, so we won't fix these bugs in the integration between Firefox and the runtime.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Updated•8 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•