file://foo always goes to the root dir

Bug #78593 reported by Matt Thompson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Won't Fix
Medium
Mozilla Bugs

Bug Description

Binary package hint: firefox

In firefox if file://anythingatall is typed into the address bar the root directory is shown.

To see for yourself:

 * Open firefox
 * Type file:// into the address bar followed by anything you want.
 * Press enter or click the little arrow to the right of the address bar.
 * Observe you root directory in all its rooty goodness.

I've tested this in Edgy Firefox 2.0.0.1, so I can't vouch for any other versions.

Matt

Tags: mt-upstream
Revision history for this message
Nafallo Bjälevik (nafallo) wrote :

Confirmed on Epiphany in feisty.

Changed in firefox:
status: Unconfirmed → Confirmed
Revision history for this message
Freddy Martinez (freddymartinez9) wrote :

I can confirm this on Edgy with Fx 2.0, however I think this may be a feature to let you see your file, can you alter the root files in any ways?

Revision history for this message
Matt Thompson (mattthompson) wrote :

Thanks Christian and Freddy, :).

I can't edit anything, it just lets me browse the directory.

To me this seems like a kind of bad way of going about it, maybe it would be better if firefox (or epiphany) told us that the file wasn't there, and asked us if we wanted to find it. That might be better.

Revision history for this message
jcfp (jcfp) wrote :

In addition, when typing something like:
"file://" + [anything not starting with "/"] + "/some_existing_dir"
the user ends up in /some_existing_dir; so with "file://foobar/etc", firefox shows you index of /etc but claims that it is the "Index of file://foobar/etc" (which doesn't exist).

When using a full path though (starting the middle part with "/", like in "file:///foobar/etc"), an error is shown as one would expect all along.

Also, when typing "file://" by itself (so without actually specifying any file or directory at all), firefox redirects to "file:///" (note the third /) and shows a file listing of the root dir.

Revision history for this message
Freddy Martinez (freddymartinez9) wrote :

Yes, I can confirm all of these. Does anyone know about different releases (I can verify on Edgy, what about Dapper/Feisty etc.)

Revision history for this message
Brian Murray (brian-murray) wrote :

Confirmed on Feisty using version 2.0.0.2+1-0ubuntu1.

Changed in firefox:
importance: Undecided → Medium
Revision history for this message
Alexander Sack (asac) wrote :

Can anyone confirm this bug exists in upstream builds?

Changed in firefox:
assignee: nobody → mozilla-bugs
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Hi, your original report was against the edgy distribution.
I was wondering if you are still experiencing this issue.
edgy support is being end-of-lifed.

http://www.ubuntu.com/news/ubuntu610end-of-life

Changed in firefox:
assignee: mozilla-bugs → r0lf
status: Confirmed → Incomplete
Revision history for this message
Rolf Leggewie (r0lf) wrote :

FWIW, this does not occur for me in FF3 on hardy

Revision history for this message
jcfp (jcfp) wrote :

All of it still present in ff3b5 on kubuntu hardy.

Rolf Leggewie (r0lf)
Changed in firefox:
assignee: r0lf → mozilla-bugs
status: Incomplete → Confirmed
Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 78593] Re: file://foo always goes to the root dir

On Tue, Apr 29, 2008 at 06:51:18PM -0000, jcfp wrote:
> All of it still present in ff3b5 on kubuntu hardy.
>

 affects ubuntu/firefox-3.0
 status confirmed

 affects ubuntu/firefox
 status wontfix

 - Alexander

Changed in firefox:
status: Confirmed → Won't Fix
Revision history for this message
Pablo Castellano (pablocastellano) wrote :

Still present in Intrepid Beta.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

I can confirm this in Xubuntu Jaunty 9.04

apt-cache policy firefox
firefox:
  Installed: 3.0.10+nobinonly-0ubuntu0.9.04.1
  Candidate: 3.0.10+nobinonly-0ubuntu0.9.04.1
  Version table:
 *** 3.0.10+nobinonly-0ubuntu0.9.04.1 0
        500 http://us.archive.ubuntu.com jaunty-updates/main Packages
        500 http://security.ubuntu.com jaunty-security/main Packages
        100 /var/lib/dpkg/status
     3.0.8+nobinonly-0ubuntu3 0
        500 http://us.archive.ubuntu.com jaunty/main Packages

Typing file://usr or file://usr/ will give the root directory; typing file://usr/share will give file not found error

Changed in firefox-3.0 (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
John Vivirito (gnomefreak) wrote :

This bug is not triaged since there has been no comments on what the next step is. Please do not mark bugs triaged just because you can confirm it.

Changed in firefox-3.0 (Ubuntu):
status: Triaged → Confirmed
description: updated
no longer affects: firefox-3.0 (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.