If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Status

()

Firefox
General
--
major
RESOLVED INCOMPLETE
10 years ago
7 years ago

People

(Reporter: fiag.hit, Unassigned)

Tracking

2.0 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

(Reporter)

Description

10 years ago
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.

Comment 1

10 years ago
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).
(Reporter)

Comment 2

10 years ago
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
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.