http doesn't redirect to ftp through proxy

UNCONFIRMED
Unassigned

Status

()

Core
Networking: HTTP
P3
normal
UNCONFIRMED
3 months ago
2 months ago

People

(Reporter: Vinicios Ragagnin Portella, Unassigned)

Tracking

55 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [necko-backlog])

(Reporter)

Description

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 (http://servicodados.ibge.gov.br/Download/Download.ashx?u=geoftp.ibge.gov.br/informacoes_ambientais/acervo_radambrasil/leia-me.txt) 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 (ftp://geoftp.ibge.gov.br/informacoes_ambientais/acervo_radambrasil/leia-me.txt) 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.

Updated

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)
(Reporter)

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 hurley@todesschaf.org) 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: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
You need to log in before you can comment on or make changes to this bug.