To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=59830
                  Issue #:|59830
                  Summary:|Wrong MIME content types sent for OpenDocument files
                          |in HOWTO page
                Component:|www
                  Version:|current
                 Platform:|All
                      URL:|http://documentation.openoffice.org/HOW_TO/index.html
               OS/Version:|All
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|openoffice.org website general issues
              Assigned to:|[EMAIL PROTECTED]
              Reported by:|ricmarques





------- Additional comments from [EMAIL PROTECTED] Tue Dec 27 10:08:24 -0800 
2005 -------
OpenDocument files available in the HOWTO page - 
http://documentation.openoffice.org/HOW_TO/index.html - are being sent with a 
wrong MIME type (MIME content types).

For instance, the following document:
http://documentation.openoffice.org/HOW_TO/various_topics/AndrewFontMacro.odt
... is being sent with Content-Type: text/plain

To check this, go to a page like:
http://web-sniffer.net/

... and paste the URL to the ODT (OpenDocument Text) file above in the "HTTP-
(S) URL" textbox. 

In the "HTTP Response Header" you can see that the 6th line of the table reads:
Content-Type: text/plain


The same thing happens to the OTS file (OpenDocument Spreadsheet Template) 
available in that page, namely:

Project-Management with Gantt-Charts Calc template.
http://documentation.openoffice.org/HOW_TO/spreadsheet/pjm_template.ots


The MIME types for OpenDocument files (odt, ods, odp, odb, ott, ots, otp ...) 
should be set for the documentation.openoffice.org Web Server configuration, 
as specified in the following web page (available from the 
framework.openoffice.org website):

Mime Content Types used in OpenOffice.org1.0 / StarOffice 4.x and later
http://framework.openoffice.org/documentation/mimetypes/mimetypes.html

So the "odt" extension should be set to 
the "application/vnd.oasis.opendocument.text" MIME content type, the "ods" 
extension should be set to "application/vnd.oasis.opendocument.spreadsheet" 
and so on...


The current situation - sending the MIME type for these files as text/plain - 
leads to the following undesirable situation when using Internet Explorer (IE) 
6 on Windows XP Professional with Service Pack 2 (SP2) applied:

- If the "Security Settings" (in Tools | Internet Options, Security tab) for 
the "Internet" Zone has the "Open files based on content, not file extension" 
option ENABLED: the file extension of the downloaded document gets renamed to 
ZIP.

- If the "Security Settings" (in Tools | Internet Options, Security tab) for 
the "Internet" Zone has the "Open files based on content, not file extension" 
option DISABLED: the file is downloaded as (garbled) text to the browser 
window.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to