Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

gav (2710)

gav
  (email not shown publicly)
http://www.estey.com/
AOL IM: flufflegavin (Add Buddy, Send Message)

Hacker in NYC.

Journal of gav (2710)

Thursday November 20, 2003
11:33 AM

Internet Explorer bugs

[ #15903 ]

Consider this simple script:

#!/usr/bin/perl -w
use CGI::Simple;
my $cgi = CGI::Simple->new;
$cgi->no_cache(1);
print $cgi->header(-type => 'application/octet-stream', -attachment => 'test.tar');
print `cat test.tar`;

It does what you'd expect except with HTTPS and IE, which fails to download the file claiming the site is "unavailable or cannot be found". After many wasted man hours, we've discovered that if the site is secure and IE sees a Pragma: No Cache header it seems to trigger the same behavior as if you had selected the "Do not save encrypted pages to disk" option.

The other strange thing is that it seems to be something caused by one of the recent security patches. It used to work fine for me before I installed Win2k SP4, but we had the same problems on other machines with differing versions of IE6. The real solution is to make more people upgrade to a browser that actually works.

Update: there's a Knowledge Base Article confirming this behavior.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.