IE9 corrupts .pl file when saving
Derek Moss
dmgi at stoptheviolence.co.uk
Mon May 7 14:02:09 EDT 2012
> From: dinkypumpkin <dinkypumpkin at gmail.com>
> On 27/04/2012 16:29, Derek Moss wrote:
>> Using IE9 to save as text the file at
>> http://git.infradead.org/get_iplayer.git/blob_plain/HEAD:/get_iplayer
>> results in it getting corrupted with the following added at the
>> beginning (and corresponding stuff at the end).
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>> <!DOCTYPE HTML>><HTML><HEAD>
>> <META content="text/html; charset=iso-8859-1" http-equiv="Content-Type"></HEAD>
>> <BODY><PRE>
>
> I think you just neglected to select "Text File" for "Save as type" in
> the Save dialog. For anyone reading this who may not realise: The
> get_iplayer and get_iplayer.cgi scripts are plain text files. For
> whatever reason, IE won't believe the Content-Type header that specifies
> a text/plain MIME type for the response containing the get_iplayer
> script. Given that the get_iplayer.cgi works OK, it might just be the
> case that IE is too stupid to work without a file extension. Whatever
> the case, I'll add a relevant note to the instructions.
I definitely saved both files as Text File. I just tried it again and
it worked OK though, so maybe it was just a glitch.
More information about the get_iplayer
mailing list