Creating shortcuts by dragging URL to Windows desktop no longer works
Categories
(Core :: Widget: Win32, defect)
Tracking
()
People
(Reporter: nelson, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Steps to reproduce:
- On Windows, Visit the URL https://github.com/mozilla/pdf.js
- Click the padlock icon in the URL bar and drag it to desktop
Actual results:
A folder named "GitHub - mozilla" is created on the desktop, with a single empty file in it named "pdf.js"
Expected results:
A shotcut file named something like "GitHub - mozilla-pdf.js- PDF Reader in JavaScript.url" should have been created with shortcut contents like
[InternetShortcut]
URL=https://github.com/mozilla/pdf.js
Reporter | ||
Comment 1•3 years ago
|
||
This bug seems to happen when trying to create shortcuts from any URL with a long pathname in it. Other examples:
https://twitter.com/nelson
https://www.reddit.com/r/firefox/comments/vn52l4/cant_drag_reddit_webpage_to_create_bookmark/
This may be a security problem. It looks kind of like the URL pathname is being used directly to create the shortcut file, not sanitized. I haven't tested just what files I can induce Firefox to create.
Comment 2•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Win32' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Description
•