473,385 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

firefox backwards compatability bug

Plater
7,872 Expert 4TB
I am having trouble with firefox tanking when talking to older servers.

As per http://www.w3.org/Protocols/HTTP/OldServers.html
If there is no response line, all bytes on the stream are to be treated as text/html.

Well my firefox appears to partially lock up on those responses. The section where the webpage would be displayed goes transparent and all I see is my desktop(or whatever is behind it).

Does anyone know of a patch or some sort of plugin that I can get to fix this bug?
Jul 31 '07 #1
18 1775
drhowarddrfine
7,435 Expert 4TB
Need an example cause I've never heard of this.
Jul 31 '07 #2
Plater
7,872 Expert 4TB
It seems to be related to the size of the response somehow.

"file is to large" is all that is returned for a certain request. No status code nor headers of any sort. It just returns that short string then closes the connection.

IE6 shows it just fine, which is funny because I know IE (or was it IIS5?) has issues with certain reponses being too small.

Firefox 2.0.0.6 seems to do that locking up thing. Maybe it's just waiting for a newline character or something? But the socket connection is closed, so I would think it would stop, I dunno.
Jul 31 '07 #3
drhowarddrfine
7,435 Expert 4TB
Is this a site I can access?
Jul 31 '07 #4
Plater
7,872 Expert 4TB
Is this a site I can access?
I will PM you the link.
Be gentile with it, it's still waaaay in the developement stages
Jul 31 '07 #5
drhowarddrfine
7,435 Expert 4TB
I don't know why it worked in IE, haven't looked myself, but you have an ampersand in the url and that's not allowed. Don't know if that's the hangup or not. Try with it removed, or change it to %26 and see if that works.
Jul 31 '07 #6
drhowarddrfine
7,435 Expert 4TB
It doesn't work in IE7 either.
Jul 31 '07 #7
Plater
7,872 Expert 4TB
Ampersand in html (like links), not allowed, ampersand in direct url input is.
IE6 was what I had used.
I don't see why it would fail, unless they're cutting back on support for old protocols (which isn't out of the question)

it just seems wierd that if that string was like double the length it shows up just fine.
Aug 1 '07 #8
drhowarddrfine
7,435 Expert 4TB
Don't know but TamperBug extension is showing no response from the server. Ican't ping it either.
Aug 1 '07 #9
Plater
7,872 Expert 4TB
Yeah, I'm dumb, I sent you the wrong link.
Don't know but TamperBug extension is showing no response from the server. Ican't ping it either.
Aug 1 '07 #10
drhowarddrfine
7,435 Expert 4TB
Ok, I only get a 200 response with TamperData and a blank screen but IE7 only prints "file too large". I don't know if that's what you wanted.

At one time, don't know if it's still true, FF had a problem with too large files but I think that had to do with XML and it was fixed, don't recall.
Aug 1 '07 #11
Plater
7,872 Expert 4TB
Well see, I don't send the 200 ok message. I send JUST the "File is too large" (I could have it say 'stuff goes downhill' for all it matters)
If you move up a step in the directory hierarchy (from the link I PM'd you) you'll see a link to like "readme.txt", no headers of anysort are sent with that one either, but it's a few words longer and FF seems to display it just fine.
Aug 1 '07 #12
drhowarddrfine
7,435 Expert 4TB
Did you try it without the ampersand? One of my test programs stops at that point.
Aug 1 '07 #13
Plater
7,872 Expert 4TB
Turned out to be the extension.
I tried it with a file called "somefile.txt" and "somefile.pdf"
The .txt went fine, the .pdf locked up. They were identical.
Instead of verifying the contenttype as pdf it seems to be just trying to load it, so it's probably the acrobat plugin that is dieing, but firefox shouldn't be invoking it to begin with.

Clients are not supposed to pass judgement based on url.

EDIT: Shame on them, they do it for everything. I tried with "somefile.bin" and it wanted me to download it. It shouldn't be doing that unless a) I have a content-disposition directive telling it to do so, or b) the ContentType is not one that is allowed to open directly in the browser window. (Since there in contenttype, http standards dictate treat as text/html or text/plain)
For shame.
Aug 1 '07 #14
drhowarddrfine
7,435 Expert 4TB
I'm talking to one of the developers but it's not his area.

He thinks that when there is no content-type sent, Firefox asks the OS what it would do with that extension. If the OS knows, it attempts to open the file with the application the OS recommends. He believes this action is intentional because it has to do 'something' with the file but, again, it's not his area.

He searched and could not find any related 'bugs' or 'issues' related to this.
Aug 1 '07 #15
drhowarddrfine
7,435 Expert 4TB
Here is the answer. What you linked to, above, is from 1992 and is out of date. The current HTTP1.1 published standard says this:
If and only if the media type is not given by a Content-Type field, the recipient MAY attempt to guess the media type via inspection of its content and/or the name extension(s) of the URI used to identify the resource. If the media type remains unknown, the recipient SHOULD treat it as type "application/octet-stream".
So, as usual, Firefox is performing correctly and to the standard and your shaming of it should actually be a shame on IE for not performing correctly, as usual.
Aug 1 '07 #16
Plater
7,872 Expert 4TB
"may" attempt does not mean it has to.

HTTP/1.1 standards also dictate to support HTTP/1.0. (I had linked to the http/1.0 standards...or at least I had ment to)

Regardless of following standards or not, it's still locking up when it clearly shouldn't be. Perhaps a bug in the acrobat plugin though.
Aug 1 '07 #17
drhowarddrfine
7,435 Expert 4TB
As the Firefox developers told me to ask you, what do you expect it to do with it then? The alternative is to do nothing. Firefox is performing correctly and to the letter of the standard. IE is not. In any case, you are supposed to provide content type.

Firefox is not locking up for me but I don't have Acrobat on this machine.
Aug 1 '07 #18
drhowarddrfine
7,435 Expert 4TB
More info. The link you showed in your first post is archived under "Old Documents" which have: "Archive document status are useful but dated documents with no guarantee that they are up to date. "
HTTP/1.1 standards also dictate to support HTTP/1.0.
It says the same in http1.0
Aug 1 '07 #19

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: annoyedtuna | last post by:
I'm having nightmares with CSS at the moment. Can anyone help me out? I'm including my stylesheet using the following code <head> <title>My Title.</title> <link rel="stylesheet"...
24
by: bedhead | last post by:
Why doesn't a SELECT element's innerHTML reflected which option was selected? Works in IE. I need this functionality so that I can retain what choices a user made in a tabbed interface. ...
4
by: Mark | last post by:
Hi, I am using Visual Web Developer 2005, whenever I run the application, it launches Firefox, how do I change this to IE? -- Any help much appreciated Mark Baldwin
2
by: Brian Henry | last post by:
Does anyone know if you have 2.0 framework installed does it have backwards compatability with 1.1? like 1.1 did with 1.0? if you had 1.1 installed you didn't need 1.0 installed... and so on....
5
by: Martin Chen | last post by:
I have a frame set (as per MS FrontPage 2000). It has a contents and a main frame. The contents frame has a menu bar written with with javascript (in the context of a table). In IE6.1 everything...
19
by: k.karthikit | last post by:
Hello all, In some hidden variable (<input type="hidden" name="hiddenId" value="test" /> ,i stored some value.I accessed the value "test" using var id = document.getElementById( 'hiddenId' );...
8
by: jamesrharper | last post by:
hi everyone i got into the old browser compatability issues because i wanted to make my site centred. now i dont know a great deal about html and css to be quite honest but i found what i needed...
3
by: kj | last post by:
How can a script send (non-fatal) warnings and other such messages to Firefox's JavaScript console? Thanks! kj -- NOTE: In my address everything before the first period is backwards; and...
27
by: Inny | last post by:
The following 3 pages which are popups on my site are not rendering in mozilla firefox. Source is visible instead. Any idea why? ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.