Closed Bug 552034 Opened 14 years ago Closed 14 years ago

Most file links in FTP directory listing contain an extra space, rendering the links dysfunctional

Categories

(Core Graveyard :: Networking: FTP, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 543805

People

(Reporter: hysky, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6

Go to
ftp://ftp.software.ibm.com/software/smb/pdfs/

Firefox incorrectly parses the FTP directory listing and adds %20 to most links:
ftp://ftp.software.ibm.com/software/smb/pdfs/%20Diverse_Data.pdf

should be
ftp://ftp.software.ibm.com/software/smb/pdfs/Diverse_Data.pdf

Reproducible: Always

Steps to Reproduce:
1. Open ftp://ftp.software.ibm.com/software/smb/pdfs/
2. Roll over the links...most have an extra space incorrectly inserted
3.
Actual Results:  
ftp://ftp.software.ibm.com/software/smb/pdfs/%20Diverse_Data.pdf

Expected Results:  
ftp://ftp.software.ibm.com/software/smb/pdfs/Diverse_Data.pdf
Regression range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=febec8184b02&tochange=05d7e81676bd

Looks like a regression from bug 484684.  Michal, is this ftp server putting in unexpected spaces even though the filename doesn't contain any?
Blocks: 484684
blocking2.0: --- → ?
status1.9.2: --- → ?
And confirming, even.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to comment #1)
> Looks like a regression from bug 484684.  Michal, is this ftp server putting in
> unexpected spaces even though the filename doesn't contain any?

Yes, exactly. I have seen this only on IBM's servers so far.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
blocking2.0: ? → ---
status1.9.2: ? → ---
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.