If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

If missing trailing '/' on file:/// directory, file links point to parent directory

RESOLVED WORKSFORME

Status

()

Firefox
General
--
minor
RESOLVED WORKSFORME
13 years ago
13 years ago

People

(Reporter: Kurt McKee, Assigned: Blake Ross)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041010 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041010 Firefox/0.10.1

If I type in a file:// URI to a directory, and leave off the trailing slash '/'
of the directory name, the resulting file list has links that leave off the
current directory, so that files appear to be in the parent directory.

Reproducible: Always
Steps to Reproduce:
If I type in the following to visit my docs directory
     file:///home/user/docs
with no trailing slash, and try to click on the directory named bugs with the
absolute path
     file:///home/user/docs/bugs/
the link tries to take me to
     file:///home/user/bugs
The way to fix this is to add the trailing slash '/' to the end of the directory
so that the final URI is
     file:///home/user/docs/
However, while clicking on 'bugs' will take me to the correct directory, I again
am missing the trailing slash '/' and am placed in the same situation.
Worksforme linux firefox trunk and 1.0.1, reopen if you see this in a recent build.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.