Closed Bug 454024 Opened 16 years ago Closed 13 years ago

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

Categories

(Core Graveyard :: Networking: FTP, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla12

People

(Reporter: jruderman, Unassigned)

References

()

Details

Attachments

(1 file)

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.
Attached patch fixSplinter Review
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+
https://hg.mozilla.org/mozilla-central/rev/c3e98453fc95
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
Depends on: 808313
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: