slash at end of a url is not necesary and causes problems




7 years ago
7 years ago


(Reporter: Miguel A. Guillen, Unassigned)


5 Branch

Firefox Tracking Flags

(Not tracked)




7 years ago
User Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0
Build ID: 20110622063727

Steps to reproduce:


Actual results:

firefox change to and show "Directory Listing Denied", because exist the directory.

Expected results:

If enter with another browser(chrome, opera, firefox 3, ie) it show the correct content (a spanish web content section)

Comment 1

7 years ago
WFM could you try in firefox safe mode?

Comment 2

7 years ago
Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0
Mozilla/5.0 (X11; Linux x86_64; rv:7.0a1) Gecko/20110628 Firefox/7.0a1

Comment 3

7 years ago
Works for me - it's probably a temporary error on that website.

Note that it's the website which could have added the slash at the end (using a 30x redirect), as it's a common correction that a website can apply. But the browser can't know in advance if "content" is a real URL, or it should need a slash at the end (for most webservers, that will happen if it's directory on the hard disk).

For instance, open the web-console with ctrl-shift-k, then go to <>, and you'll see that you will be redirected to <> with a 301 redirect.

Comment 4

7 years ago
The site works in others browsers, the site don't redirect 
[18:29:13.718] GET [HTTP/1.1 403 Forbidden 119ms]

You can try by yourself, we see in browser and server logs and there isn't redirections, and in firefox 3.5.3 works

Comment 5

7 years ago
Miguel, did you try running in Safe Mode as suggested in comment 1?

Comment 6

7 years ago
(In reply to comment #5)
> Miguel, did you try running in Safe Mode as suggested in comment 1?

Yes, there is not changes.

I tested in windows and Linux (ubuntu version), only happens in linux version

Comment 7

7 years ago
Does the problem occur with the vanilla Firefox as well?

Comment 8

7 years ago
Ok I see more things, it's cache problem. Previously we visited the page with this error, now is imposible visit the website without the final slash. I try in other machines and it works perfectly but it dosen't work with the machines that previously visit the web

Comment 9

7 years ago
Ok, I have it, I clean my history and now it works, is like the browser remember the previuosly redirection and it couldn't force to forget it (after change the content of the page) ultil clean the history.

Comment 10

7 years ago
Ok, I made some test and I know what is happening, if you visit the website when it have a redirection to a directory and after you visiti the website with a content without redirection (a html file) firefox remember the redirection and not show the html.
You need to log in before you can comment on or make changes to this bug.