The default bug view has changed. See this FAQ.

"ftp:///" (no hostname) gives an empty list of files instead of an error

RESOLVED FIXED in mozilla12

Status

()

Core
Networking: FTP
RESOLVED FIXED
9 years ago
5 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

Trunk
mozilla12
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

9 years ago
1. Load ftp:///

Result: an empty list of files

Expected: an error message telling me that's a bogus URL or something
I get a blank page and an empty list if i load the the url again but that is bug 406787
I see this in FF 3.0.1 on OS X, Windows and Linux.  I don't see it in
FF2.

On Linux it always happens (in FF 3.0.1).

But on OS X and Windows I see the following:

1) If I right-click on the ftp:/// URL and choose "open in another
   tab", I get a blank tab.

2) If I just click on the ftp:/// URL I get an empty list of files.

3) And very strangely, once I've performed step 2, even performing
   step 1 now always gives me an empty list of files ... until I
   restart the browser.
OS: Mac OS X → All
Hardware: PC → All
Could you retest with a nightly because bug 406787 could have fixed the empty file list.
Oops, sorry.

Testing with today's Minefield nightly (on OS X 10.5.4) I no longer
see this problem.  Either nothing happens, or a blank page opens in a
new tab.

Comment 5

7 years ago
Created attachment 459136 [details] [diff] [review]
fix
Attachment #459136 - Flags: review?(jduell.mcbugs)
Comment on attachment 459136 [details] [diff] [review]
fix

Review of attachment 459136 [details] [diff] [review]:
-----------------------------------------------------------------

I also get a blank screen with nightly, which is better than an empty file list, but I think the error screen we get when we use this patch is better.  Sorry for taking so long to review this.  I'll take care of landing it.
Attachment #459136 - Flags: review?(jduell.mcbugs) → review+
landed on inbound:

  https://hg.mozilla.org/integration/mozilla-inbound/rev/c3e98453fc95
https://hg.mozilla.org/mozilla-central/rev/c3e98453fc95
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12

Updated

5 years ago
Depends on: 808313
You need to log in before you can comment on or make changes to this bug.