Index of directory bug...

Discussion about official Mozilla Firefox builds
Post Reply
RivanG
Posts: 71
Joined: April 16th, 2003, 7:52 am
Location: Elkview, WV
Contact:

Index of directory bug...

Post by RivanG »

Anyone know if there is a bug reported on FB viewing the Index of a directory that doesn't contain any HTML files?

I stumbled on this one earlier today trying to access some of my web space where I store files for easy download when I need them.

To demonstrate this I setup a test folder and saved the opening.gif there... you can check it out by going to http://www.hawksnet.net/test

This results in a Mozilla Firebird does not know how to handle this file type error: Image

I tested this in all the latest releases I have, Mozilla and Mozilla Firebird... if I go back to Mozilla 1.4 release it works as it is supposed to. If in the latest releases of FB, I set FB to open this type of file it copies the directory list to c:\temp\random file name ie... file:///C:/TEMP/tra4yr8l-1 and opens it displaying the

Index of /test/

Name Last modified Size Description

Parent Directory
opening.gif 30-Jul-03 11:00 6K
michaell522
Posts: 2417
Joined: November 4th, 2002, 4:47 pm
Location: London, UK
Contact:

Re: Index of directory bug...

Post by michaell522 »

RivanG wrote:Anyone know if there is a bug reported on FB viewing the Index of a directory that doesn't contain any HTML files?

that's not quite the problem, but there is a bug.

your server is giving a horribly broken content type:

Server: NetWare-Enterprise-Web-Server/5.1
Date: Wed, 30 Jul 2003 16:07:09 GMT
Content-type: text/html;
RivanG
Posts: 71
Joined: April 16th, 2003, 7:52 am
Location: Elkview, WV
Contact:

Post by RivanG »

What did you use to view that header information?

Thanks
michaell522
Posts: 2417
Joined: November 4th, 2002, 4:47 pm
Location: London, UK
Contact:

Post by michaell522 »

RivanG wrote:What did you use to view that header information?


I actually used Samspade - http://www.samspade.org/t/

for Mozilla folks, a more usual tool that does something similar is http://webtools.mozilla.org/web-sniffer/
RivanG
Posts: 71
Joined: April 16th, 2003, 7:52 am
Location: Elkview, WV
Contact:

Post by RivanG »

Using that websniffer tool this is the output I get...

Server: NetWare-Enterprise-Web-Server/5.1CRLF
Date: Wed, 30 Jul 2003 20:48:05 GMTCRLF
Location: http://www.hawksnet.net/test/CRLF
Content-length: 239CRLF
Content-type: text/htmlCRLF
Connection: closeCRLF
CRLF

So where is that broken content type coming from? Is there anything I can fix on that server?

Thanks...
michaell522
Posts: 2417
Joined: November 4th, 2002, 4:47 pm
Location: London, UK
Contact:

Post by michaell522 »

RivanG wrote:Using that websniffer tool this is the output I get...
Content-type: text/htmlCRLF


strange - that's what it is supposed to be. I get a whole bunch of garbage on the end of the content type header.

So where is that broken content type coming from? Is there anything I can fix on that server?


It's coming from the server. I've no idea it's fixable or not. It should be, but I know nothing about Netscape web servers...
RivanG
Posts: 71
Joined: April 16th, 2003, 7:52 am
Location: Elkview, WV
Contact:

Post by RivanG »

I am the admin for that server... so if I had some idea of what could be causing that I could fix it... and from the image I posted above it is obvious that there is a broken content type even though websniffer is reporting the content type correctly.
User avatar
SuperMichael
Posts: 166
Joined: June 18th, 2003, 6:30 pm
Location: Krypton, The Sunny Side

Post by SuperMichael »

There's also the LiveHTTPHeaders extention for Mozilla and Mozilla Firebird :)

http://livehttpheaders.mozdev.org/
<a href="http://texturizer.net/firebird/index.html" target="_blank">MozillaFirebird Help</a> | <a href="http://extensionroom.mozdev.org/index.html" target="_blank">Look Here For Extentions</a>
FryGuy
Posts: 58
Joined: July 31st, 2003, 10:31 pm
Location: Sacramento, CA
Contact:

Post by FryGuy »

I will second the broken html headers.. Doing it manually through telnet:

Code: Select all

telnet www.hawksnet.net 80
GET /test/ HTTP/1.1
Host: www.hawksnet.net



Code: Select all

HTTP/1.1 200 OK
Server: NetWare-Enterprise-Web-Server/5.1
Date: Sat, 02 Aug 2003 08:07:03 GMT
Content-type: text/html;Él]╒└u┼╒E,D╒ ↓╥╤╝☻╥ ↓╥╤¶▓╤╤≡╣╤╤Él]╒└u┼╒(
                                                                D╒╝☻╥☺
Connection: close

<TITLE>Index of /test/</TITLE>
                              <h1>Index of /test/</h1>
                                                      <PRE><IMG SRC="/mc-icons/b
lank.gif" ALT="     ">  Name                   Last modified     Size  Descripti
on
  <HR>
      <A HREF="/" NAME="/"><IMG SRC="/mc-icons/back.gif" ALT="[DIR]" BORDER=0>
Parent Directory</a>
                    <A HREF="opening.gif" NAME="opening.gif"><IMG SRC="/mc-icons
/image.gif" ALT="[IMG]" BORDER=0>  opening.gif</a>            30-Jul-03 11:00
  6K


Connection to host lost.
Post Reply