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

UNCONFIRMED
Unassigned

Status

()

Firefox
General
UNCONFIRMED
7 years ago
7 years ago

People

(Reporter: Miguel A. Guillen, Unassigned)

Tracking

5 Branch
All
Other
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

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:

Visit http://www.legistaric.es/content 


Actual results:

firefox change to http://www.legistaric.es/content/ 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?

http://support.mozilla.com/en-US/kb/Safe%20Mode

Comment 2

7 years ago
WFM:
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 <http://www.mozilla.org/projects>, and you'll see that you will be redirected to <http://www.mozilla.org/projects/> with a 301 redirect.
(Reporter)

Comment 4

7 years ago
The site works in others browsers, the site don't redirect 
[18:29:13.718] GET http://www.legistaric.es/content/ [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?
(Reporter)

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?
http://www.mozilla.com/en-US/firefox/all.html
(Reporter)

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
(Reporter)

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.
(Reporter)

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.