Try to upgrade ftp:// URLs to https:// URLs
Categories
(Core :: DOM: Security, enhancement, P3)
Tracking
()
People
(Reporter: hsivonen, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [domsecurity-backlog1])
Steps to reproduce
- Click the link ftp://ftp.funet.fi/pub/
Actual results
Firefox prompts the user to choose an external application.
Expected results
Expected Firefox to first try if upgrading the link to https
works and only show the external app prompt if the upgrade fails. These days, the upgrade would often work. In this case https://ftp.funet.fi/pub/ would work.
Comment 1•4 years ago
|
||
I think this is a great idea.
The fallback from trying HTTPS back to an external protocol might be a little tricky, but probably worth doing.
Comment 2•4 years ago
|
||
Yeah, that sounds reasonable to me too - let's do that!
Comment 3•4 years ago
|
||
FWIW, we just landed 'https-first' which tries to upgrade the top-level URL to https and falls back to http if not available - I think the fallback here could live at a very similar place in DocumentLostLIstener.cpp -> see https://hg.mozilla.org/mozilla-central/rev/7b2615a656e4#l17.36
Comment 4•3 years ago
|
||
We don't support ftp: anymore anyway, let's close this bug...
Description
•