IE9 corrupts .pl file when saving
dinkypumpkin
dinkypumpkin at gmail.com
Fri Apr 27 12:35:54 EDT 2012
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.
More information about the get_iplayer
mailing list