Closed Bug 257889 Opened 22 years ago Closed 10 years ago

Warning that FTP site does not require authentication when connecting

Categories

(Core :: Networking, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: sander+bugzilla, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040830 Firefox/0.9.1+ (bangbang023) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040830 Firefox/0.9.1+ (bangbang023) I am Logging in with URL ftp://user:pass@hostname:8021/ A dialog box is presented: --------- You are about to log into the site "hostname" with the username "user", but the web site does not require authentication. This may be an attempt to trick you. Is "hostname" the site you want to visit? --------- However, the FTP site *does* require authentication. Its name does not start with "ftp" and its port is not "21", however. Daemon at the other side is Serv-U. Reproducible: Always Steps to Reproduce: 1. Connect to this site by typing the URL in the Location bar Actual Results: A dialog box is presented Expected Results: Just progress without warning Reproduced both in 20040830 and in 0.9.3.
Found code in /netwerk/resources/locale/en-US/necko.properties, line 78 SuperfluousAuth=You are about to log into the site \"%1$S\" with the username \"%2$S\", but the website does not require authentication. This may be an attempt to trick you.\n\nIs \"%1$S\" the site you want to visit? --> points to /netwerk/protocol/http/src/nsHttpChannel.cpp, line 2584 Is it normal to end in nsHttpChannel when doing an FTP transaction?
Could you login to that server as anonymous? Does ftp://hostname:8021/ work?
Anonymous logins are disabled on this server.
> Is it normal to end in nsHttpChannel when doing an FTP transaction? are you using a proxy for ftp?
Assignee: general → darin
Component: Browser-General → Networking
QA Contact: general → benc
Thanks for the hint. This indeed only reproduces when an FTP proxy is being used.
ftp proxies actually look like HTTP servers to the web browser... So yes, in that case it's normal to end up in nsHttpChannel, since we need to talk HTTP to the proxy.
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
non-auto-update.
Assignee: darin → nobody
QA Contact: benc → networking
deprecating ftp
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.