Closed Bug 1778894 Opened 2 years ago Closed 2 years ago

Half-width kana in filename rejected by downloads API

Categories

(WebExtensions :: Untriaged, defect)

Firefox 102
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1778880

People

(Reporter: mozilla-bugzilla, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0

Steps to reproduce:

Using the addon downloads API:
browser.downloads.download({url: 'https://www.mozilla.org/favicon.ico', filename: 'test バグ.jpg'})

Actual results:

Promise rejected with message "Error: filename must not contain illegal characters"

Expected results:

Download saved with name 'test バグ.jpg'

The Bugbug bot thinks this bug should belong to the 'WebExtensions::Untriaged' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Product: Firefox → WebExtensions

Similar to the Half-width kana saving bug 1778429
Possibly also caused by regressing bug 1746052

See Also: → 1778880
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
See Also: 1778880
You need to log in before you can comment on or make changes to this bug.