Closed Bug 103737 Opened 24 years ago Closed 24 years ago

".." to go up a directory is missing the ftp listing [which is in html]

Categories

(SeaMonkey :: UI Design, defect, P1)

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.6

People

(Reporter: bugzilla, Assigned: bbaetz)

References

()

Details

(Keywords: regression)

Attachments

(2 files)

summary sez it all. i see this with a trunk build from 10/4 on winnt. i need to double-check with more recent trunk bits on all platforms... bbiab with more info...
stephend sez he doesn't see the ellipses-link on a recent mac os x trunk build.
Severity: normal → major
Keywords: regression
yep, confirming with 2001.10.08.08-trunk comm bits on linux. bradley, i nominate this for 0.9.6, but would the bug be in the 0.9.5 branch perchance?
Keywords: mozilla0.9.6
Yeah, this would be in 0.9.5. There is no way that I'm going to get to this before the end of this week. Its a 3 line fix if I ignore the XUL view...
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla0.9.6
Isn't this a dupe of Bug 12707?
No - this was fixed for html, but I broke it when I merged the back ends for html vs xul. Now I have to reenable it just for html), but not for gopher, while doing the Right Thing for file listings on all OSs. Its not complicated, but I'm not going to get to it this week unless someone fixes bug 60455 for me. Patches (to nsIndexedToHTML.cpp, I suspect) welcome.
OK, here we go. I trashed some of the bogus file : vs / logic while I was at it. (nsLocalFileMac::GetURL always uses a /) Despite the docs nsIFile::GetParent saying that it returns null when its the root, it doesn't (at least on unix) - it just returns the root, so the text still appears for file:/// in html mode, which is disabled for file urls anyway ATM. dougt, should I file a bug on that? darin, dougt: r/sr, please?
Attached patch patchSplinter Review
jag told me to s/nsDependentCSubString/SubString/, so I did. I also replaced the for loop with: while(finish != start && *finish != '/') --finish;
Comment on attachment 54327 [details] [diff] [review] patch make sure that benc runs his regression tests after you land this change.
Attachment #54327 - Flags: review+
Attached patch new patchSplinter Review
Comment on attachment 54589 [details] [diff] [review] new patch sr=darin (looks good)
Attachment #54589 - Flags: superreview+
Checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
html directory listings now have a "Parent Directory" link, and ftp listings now have a "Up to a higher level directory" link. tres cool! linux - 2001.11.01.12 winNT - 2001.10.31.03 mac 10.1 - 2001.10.31.13
Status: RESOLVED → VERIFIED
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: