[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: Cobalt, Internet Exlorer only, cgi-lib.pl error



In case anyone else experienced the same problem ---------

I found this, which was pertinent to my posted problem of the cgi-lib.pl
error on Content-type:

============== snip ==================
If you go and have a look at the Microsoft KnowledgeBase you will find that
this is actually a known bug in Microsoft Internet Explorer 5.01 (especially
if you've installed the 128bit update)!

The bug existed in older versions too, apparantly, but is very specific to
5.01. I don't believe it's anything to do with DNS whatsoever - it's very
intermittent.

We've had trouble explaining this issue to users of SSL too, but I've
experienced this problems with SSL on other systems too.
============= snip =================

So... what I did to fix the problem, which is a real hack, but what the
h***, is this:

edited the line in cgi-lib.pl that says:

if (!defined $meth || $meth eq '' || $meth eq 'GET' || 
      $meth eq 'HEAD' ||
      $type eq 'application/x-www-form-urlencoded') {

by adding the double content type that produces the error in IE with ssl in
these rare instances.

fixed line in cgi-lib.pl is:

if (!defined $meth || $meth eq '' || $meth eq 'GET' || 
      $meth eq 'HEAD' ||
      $type eq 'application/x-www-form-urlencoded' || $type eq
'application/x-www-form-urlencoded, application/x-www-form-urlencoded') {

This traps the double content type as a valid content type. (there's a
space after the comma)

This fixed the problem, for the OpenSRS cgi script.  Hopefully it may lead
others to be able to fix the problem by similarly looking in their cgi lib
files (whatever you're using) for a similar place to fix this if it is the
same problem....

Chow...


Eric Beck, BWSD
http://web-design.net/index.shtml  mailto:admin@xxxxxxxxxxxxxx
996 Basswood Avenue, Oshawa, ON L1H 2G7
Phone: 905 436 6814   Fax:  413 581 7439
================================================================
                   http://InstantDomainRegistration.com 
               $22 CDN (~$15 US) !!! Save Up To 57% on Domain Registration !!!
                A Beck Web Servers and Design Company
================================================================
BECK WEB SERVERS & DESIGN - WHERE SUPPORT AND SERVICE ARE #1
================================================================