Consider downloading ftp:// resources rather than rendering them.
Categories
(Core Graveyard :: Networking: FTP, enhancement, P1)
Tracking
(firefox70 fixed)
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: jan, Assigned: jan)
References
(Blocks 1 open bug, )
Details
(4 keywords, Whiteboard: [necko-triaged][adv-main70-])
Attachments
(1 file)
https://github.com/whatwg/fetch/pull/839#issuecomment-446985221
ckerschb commented on 13 Dec 2018
Firefox has been blocking FTP subresource loads within http(s) documents since Firefox 61 for a variety of reasons as a first step of deprecating FTP resource loads in the browser. It makes sense to me that we start treating FTP resources as binary data instead of rendering them as the next step.
Comment 1•5 years ago
|
||
Please correct me if I put to wrong component.
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Loose P1 - let's try to fix this in this release.
Comment 3•5 years ago
|
||
Michal, this is mostly about changing the content type we expose on the ftp channel. You know this code well, do you think you could fix this for this release?
Assignee | ||
Comment 4•5 years ago
•
|
||
Together with this change you could revert https://hg.mozilla.org/mozilla-central/rev/33db56e4ee57 and https://hg.mozilla.org/mozilla-central/rev/70ab5d0f6da3.
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Comment 8•5 years ago
|
||
Tested with emulated Fennec and Desktop Nightly on Debian Testing. Please trigger a try build, if possible.
Rendered: ftp://ftp.de.debian.org/
Downloaded:
ftp://ftp.de.debian.org/debian/README
ftp://ftp.de.debian.org/debian/README.mirrors.html
ftp://ftp.ripe.net/ripe/training/role-object.mov (This would be rendered if we didn't prevent MIME sniffing.)
ftp://ftp.ripe.net/ripe/training/RIPENCC-IPv6-Exercise.pdf
Comment 9•5 years ago
|
||
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Looks good to me. Thanks for the patch!
Assignee | ||
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/29e52be56fee
Download FTP resources instead of rendering them. r=michal
Comment 12•5 years ago
|
||
Posted site compatibility note: https://www.fxsitecompat.dev/en-CA/docs/2019/all-ftp-resources-are-now-downloaded-instead-of-being-rendered/
Comment 13•5 years ago
|
||
bugherder |
Assignee | ||
Comment 14•5 years ago
•
|
||
bug 1475261: Connection errors are empty text instead of error pages. Example: ftp://cyberghost.pro:80/pro.php
Therefore an empty file is now offered to download.
Updated•5 years ago
|
Updated•10 months ago
|
Description
•