http doesn't redirect to ftp through proxy




Networking: HTTP
3 months ago
2 months ago


(Reporter: Vinicios Ragagnin Portella, Unassigned)


55 Branch

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [necko-backlog])



3 months ago
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170814072924

Steps to reproduce:

Trying to access this URL ( through HTTP 1.1 proxys does not open the file.

I actually went to investigate with Wireshark what happens and it seems Firefox does not redirect to the FTP address found on the Location header. It opens the connection with the proxy but doesn't send the GET request to it, just leaves the connection open. The same request works fine on Internet Explorer 11 and Google Chrome 60.

Actual results:

The tab doesn't open the destination file on ftp. The browser doesn't seem to be redirecting the link. I thought the problem might be because Firefox redirect protection, but disabling it in the Options -> Advanced menu didn't change anything.

If I copy the destination FTP URL ( and paste directly on the browser, it works fine.

Expected results:

The browser should redirect from http to ftp as specified in the location header.


3 months ago
Component: Untriaged → Networking: HTTP
Product: Firefox → Core
Patrick, I'm not even sure this (cross-protocol redirect) is something we would want to support. Thoughts?
Flags: needinfo?(mcmanus)

Comment 2

3 months ago
Just to note that it works fine on a network without proxy. In that case it uses the FTP protocol after the redirect as expected. So it already supports cross-protocol redirects, except when using a proxy.
this is backlog material.. we're wrong - low impact.
Flags: needinfo?(mcmanus)
(In reply to Nicholas Hurley [:nwgh][:hurley] (also from comment #1)
> Patrick, I'm not even sure this (cross-protocol redirect) is something we
> would want to support. Thoughts?

Oh, we definitely do and want.  FTP is somewhat unsupported tho, so that we can soon end up w/o any native FTP support in Fx.
Whiteboard: [necko-backlog]
Bulk change to priority:
Priority: -- → P1
Bulk change to priority:
Priority: P1 → P3
You need to log in before you can comment on or make changes to this bug.