User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:220.127.116.11) Gecko/20080311 Firefox/18.104.22.168 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:22.214.171.124) Gecko/20080311 Firefox/126.96.36.199 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
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.