www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Chase <drch...@mediaone.net>
Subject general/8395: text/plain mime type - html tags are parsed and the file is displayed as html rather than plaintext
Date Mon, 24 Sep 2001 04:22:47 GMT

>Number:         8395
>Category:       general
>Synopsis:       text/plain mime type - html tags are parsed and the file is displayed
as html rather than plaintext
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Sep 23 21:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     drchase@mediaone.net
>Release:        1.3.20
>Organization:
apache
>Environment:
Debian 2.2, kernel 2.4.8:

Linux gemini 2.4.8 #1 SMP Sun Aug 19 22:54:09 EDT 2001 i686 unknown

>Description:
Upon specifying that the 'txt' extension should be text/plain and displayed as plaintext,
if the &LT;HTML&GT; tag appears in the text at any place, the whole text will be treated
as an HTML document REGARDLESS of what the mime type for that extension is set at.
>How-To-Repeat:
Default install of Apache.  Create a text file that has loads of text and an HTML tag (the
exact signification of the start of an HTML document) anywhere in the text.  The whole text
should be presented as HTML instead of plaintext.
>Fix:
I tried forcing every file to be displayed as plaintext by using the ForceType directive,
to no avail.  Is this a problem with Apache or most common browsers?
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message