Closed
Bug 1254326
Opened 10 years ago
Closed 9 years ago
browser.downloads.download() creates bad file on URL with empty path
Categories
(WebExtensions :: Untriaged, defect, P3)
WebExtensions
Untriaged
Tracking
(Not tracked)
RESOLVED
FIXED
Iteration:
48.1 - Mar 21
People
(Reporter: aswan, Assigned: aswan)
Details
(Whiteboard: triaged)
When using browser.downloads.download() to start a download of a URL that has an empty path (e.g., https://download.mozilla.org/?product=firefox-44.0.2-SSL&os=osx&lang=en-US), we end up creating a uniquified name for the downloads directory. For example, the default directory on macos is ~/Downloads, we end up writing the downloaded file to a file named ~/Downloads(1) instead of creating a name for the file inside the download directory.
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → aswan
Iteration: --- → 48.1 - Mar 21
Updated•10 years ago
|
Priority: -- → P3
Whiteboard: triaged
| Assignee | ||
Comment 1•9 years ago
|
||
This got fixed along the way with the fix for bug 1271345.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•