Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88381 - Firefox drops last local directory if missing trailing slash
Summary: Firefox drops last local directory if missing trailing slash
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL: http://origami.res-hall.northwestern....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-08 09:51 UTC by Kurt McKee
Modified: 2005-09-12 07:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt McKee 2005-04-08 09:51:29 UTC
When I'm browsing my local filesystem using the file:// syntax, Firefox loses the final directory when creating hyperlinks in the directory I'm browsing if I leave off the trailing slash in the URL. So, for instance, if I browse to
     file:///home/kurt/dls/games
and have no trailing slash after "games", then all of the links to the files in the directory will leave out "/games" when attempting to link to files. In the URL depicting the problem, it can be seen that the address bar reads merely
     file:///home/kurt/dls/games
but the link to the "emulation" subdirectory in "games" is created as
     file:///home/kurt/dls/emulation

The problem is fixed if I manually add a trailing slash to the end of the URL, although the next directory link I click on won't have the trailing slash generated, so I have to manually enter a trailing slash again.

Compare the following two screenshots, paying attention to the address bar and to the status bar:
     http://origami.res-hall.northwestern.edu/files/1.png
     http://origami.res-hall.northwestern.edu/files/2.png

Reproducible: Always
Steps to Reproduce:
Comment 1 Kurt McKee 2005-04-08 09:52:10 UTC
This is using Firefox 1.0.2.
Comment 2 Kurt McKee 2005-04-08 09:54:08 UTC
Whoops, and previously reported to the Mozilla Bugzilla by me, but they weren't able to reproduce the problem. Here's the relevant bug report:
     https://bugzilla.mozilla.org/show_bug.cgi?id=264618
Comment 3 Kurt McKee 2005-09-12 07:55:00 UTC
It's working now.