Closed Bug 264618 Opened 20 years ago Closed 19 years ago

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

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: zccm3v, Assigned: bugzilla)

Details

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
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.