Open Bug 667920 Opened 13 years ago Updated 2 years ago

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

Categories

(Firefox :: General, defect)

5 Branch
All
Other
defect

Tracking

()

UNCONFIRMED

People

(Reporter: miguitas, Unassigned)

Details

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)
WFM could you try in firefox safe mode?

http://support.mozilla.com/en-US/kb/Safe%20Mode
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
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.
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
Miguel, did you try running in Safe Mode as suggested in comment 1?
(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
Does the problem occur with the vanilla Firefox as well?
http://www.mozilla.com/en-US/firefox/all.html
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
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.
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.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.