Microsoft KB Archive/164672

= IE Does Not Interpret PERL Scripts Correctly as Plain Text =

Article ID: 164672

Article Last Modified on 6/23/2005

-

APPLIES TO


 * Microsoft Internet Information Server 2.0
 * Microsoft Internet Information Server 3.0

-



This article was previously published under Q164672



We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

http://www.microsoft.com/technet/security/prodtech/IIS.mspx



SYMPTOMS
You are using a PERL script with a header that contains the following:

  Content-Type: text/plain\n\n

In addition, HTML tags exists within the file. Microsoft Internet Explorer (IE) displays the results as HTML output rather than plain text output. If there are no HTML tags, the file is viewed as an unsupportable file type and IE tries to download file.



CAUSE
IE assumes that because the script contains HTML tags that it is an HTML file and displays it as such regardless of what content type is stating.



STATUS
Microsoft has confirmed this to be a problem with Microsoft Internet Explorer version 3.0 or above. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Keywords: kbbug kbinterop kbpending KB164672

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.