Dragging and dropping the identity box to the desktop to create a .url shortcut is broken (creates .url.download instead of .url)
Categories
(Firefox :: File Handling, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | fixed |
firefox110 | --- | unaffected |
firefox111 | --- | unaffected |
firefox112 | --- | verified |
People
(Reporter: Frank.Fehling, Assigned: enndeakin)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr102+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Steps to reproduce:
Mouse right click on the padlock symbol and release the mouse button on the Windows Explorer file area.
Actual results:
Firefox 112.0a1 Build-ID 20230301093735:
A shortcut file was created, but instead of type ".url" now as "url.download".
Windows can't work with the type ".download".
Expected results:
Create a shortcut file of type ".url" like in the version before.
Windows can open the shortcut in Firefox Nightly (my standard browser) again.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::File Handling' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 year ago
|
||
This is the result of a security fix that impacted downloads (maybe bug 1809923, maybe one of the related bugs), but where clearly our attempt to be generic and prevent this everywhere led to us breaking expected functionality. :-(
Assignee | ||
Comment 3•1 year ago
|
||
We should be able to fix this by modifying CreateURLFilenameFromTextA/CreateURLFilenameFromTextW to pass the VALIDATE_ALLOW_INVALID_FILENAMES flag.
Comment 4•1 year ago
|
||
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=a429f4ea7c488a624126534dd88637cb0c475cfb&tochange=bce007ba1a3fdb155321a15a3430395dddbccb4a
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 5•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/731c660cee74 don't modify extensions when trying to create a desktop shortcut, r=Gijs
Comment 7•1 year ago
|
||
bugherder |
Comment 9•1 year ago
|
||
(In reply to Frank from comment #8)
YES! Thank you all, it works again!
Thanks for the quick update and for reporting this so quickly after it broke; it helped avoid shipping this regression to the release channel. :-)
Assignee | ||
Comment 10•1 year ago
|
||
Comment 11•1 year ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Assignee | ||
Comment 12•1 year ago
|
||
Comment on attachment 9326152 [details]
WIP: Bug 1819760, don't modify extensions when trying to create a desktop shortcut, esr version
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Regression from bug 1815062 which is needed if that bug is landed.
- User impact if declined: Dragging a link to the desktop is broken. (Windows only)
- Fix Landed on Version: 112
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Minor change which just reverts behaviour for dragging.
Note that this patch conflicts with bug 1806730 so that bug should land first.
Comment 13•1 year ago
|
||
Comment on attachment 9326152 [details]
WIP: Bug 1819760, don't modify extensions when trying to create a desktop shortcut, esr version
Approved for 102.10esr.
Updated•1 year ago
|
Comment 14•1 year ago
|
||
bugherder uplift |
Description
•