Closed Bug 466423 Opened 16 years ago Closed 16 years ago

problem opening previously broken ftp link

Categories

(Core Graveyard :: Networking: FTP, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 406787

People

(Reporter: mcepl, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4

If you attempt to open the broken FTP
URL for the first time, firefox displays
the appropriate message box with an error.
This is fine. But try to open the same
URL the second time, and you see no error.
An empty FTP catalog is displayed instead.
The problem is that even if the link is
fixed on a server side (missing file added
on ftp), you cannot open it any more.
Firefox will still display an empty catalog.
To make the matters worse, it appends '/'
to the URL, even if it is a file link.
You delete it, but it keeps appending.


Reproducible: Always

Steps to Reproduce:
1. Try to open a non-existal file on some ftp
2. See the error message box, close it
3. Add the missing file on ftp
4. Try opening it again

or alternative way of reproduction (the way I have actually triage it):

1. Try to open a non-existal file on some ftp
2. See the error message box, close it
3. Try to open the same URL again
4. See firefox appends '/'! Remove it, hit Enter
5. See an empty ftp directory
6. Go to step 4
Actual Results:  
In the first case:

You can't open the file any longer.
Firefox somehow remembers that it was missing.
You see an empty directory instead, but
the URL was the file link, not a directory.
Firefox keeps appending '/' to URL though.

or

You see an empty ftp directory, even though
the URL was the file link, not a directory.
Firefox keeps appending '/' to an URL.
You will no longer have an opportunity to
open that URL.

Expected Results:  
Error messages, as long as the file is missing.
Opening the file, as soon as it was added.
NEVER mangling an URL by appending '/' to it.

This is really really very annoying bug to me. :(
I am increasing severity.
It is a problem also with the win32 builds of
firefox, btw.
OS: Linux → All
This is dupe of #406787. The fix has landed in mozilla-central repository but not in CVS repository.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.