Trailing slashes

B

beweel

Hi!

There is a problem with Dmoz if you do not use trailing slashes on the categories in your browser.

This is not a problem if you start at www.dmoz.org and surfs on from there. But if you use the links that your browser recognizes that you have been to, it leaves out the slash - this is the case for IE 6.

Here is the problem illustrated:

curl "http://www.dmoz.org/World"

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://editors.dmoz.org:8081/World/">here</a>.</p>
</body></html>

The command takes 58 seconds to complete and the URL which I am redirected to does not work:

curl "http://editors.dmoz.org:8081/World/"

curl: (7) Connect failed


Adding the trailing slash however makes the webserver return the page in only 0.2 sec.

Nico
 

xixtas01

Member
Joined
Jun 16, 2003
Messages
624
That is a very interesting observation. Thank you for reporting this. I'm going to relay it to staff. My quick spot checks indicate that this is indeed working as you describe. Can anyone else confirm or deny?

<added>
"working"... heh. You can tell I've been "working" with computers too long. I apparently think the words "working" and "broken" are synonyms. Perhaps "behaving" would have been better word choice.
</added>
 
This site has been archived and is no longer accepting new content.
Top