Closed Bug 428782 Opened 16 years ago Closed 14 years ago

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: fiag.hit, Unassigned)

Details

(Whiteboard: [CLOSEME 2010-09-15])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13

my ftp password have a leading # char, when i use ftp://user:#L$uvccX@example.cn/ to open my ftp, it goes wrong url.


Reproducible: Always

Steps to Reproduce:
1.copy 'ftp://user:#L$uvccX@example.cn/' to location bar
2.click go button or press enter

Actual Results:  
Firefox goto ftp://user/#L$uvccX@example.cn/ and says domain 'user' is not found!

Expected Results:  
login on ftp server and see my files on ftp.
The # can't be part of the password ; see RFC 1738 (<http://www.faqs.org/rfcs/rfc1738.html>), section 5 :

password       = *[ uchar | ";" | "?" | "&" | "=" ]
...
unreserved     = alpha | digit | safe | extra
uchar          = unreserved | escape

And the # is not part of alpha, digit, safe or extra. The $ is part of the safe set, so that's ok to use.

The solution here would be to escape the # character like this (%23 is the hexadecimal code for #) :
ftp://user:%23L$uvccX@example.cn/

But I noticed that this escaping wasn't done automatically in the location bar. I have to leave home right now, but I'll try to look into it at a later time (ther will probably a reason for it).
Thank you very much! The escaped password works.
Reporter, are you still seeing this issue with Firefox 3.6.x or later in safe mode? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2010-09-15]
Version: unspecified → 2.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.10 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.