You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@httpd.apache.org by GitBox <gi...@apache.org> on 2020/12/02 22:08:14 UTC

[GitHub] [httpd] jogu opened a new pull request #150: mod_xml2enc: avoid corrupting Microsoft Office documents

jogu opened a new pull request #150:
URL: https://github.com/apache/httpd/pull/150


   The Microsoft OOXML format uses xml packaged into a zip file, and has
   mimetypes like:
   
   application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
   
   This mimetypes contains 'xml', but is unfortunately not an xml file.
   
   xml2enc processes these files (in particular, when mod_proxy_html is
   used), typically resulting in them being corrupted as it seems to
   attempt to perform a ISO-8859-1 to UTF-8 conversion on them.
   
   Update the check to look for '+xml', which hopefully reflects only
   mimetypes that actually contain xml.
   
   closes https://bz.apache.org/bugzilla/show_bug.cgi?id=64339


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@httpd.apache.org
For additional commands, e-mail: notifications-help@httpd.apache.org


[GitHub] [httpd] notroj commented on pull request #150: mod_xml2enc: avoid corrupting Microsoft Office documents

Posted by GitBox <gi...@apache.org>.
notroj commented on pull request #150:
URL: https://github.com/apache/httpd/pull/150#issuecomment-746572343


   Thanks for the contribution!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@httpd.apache.org
For additional commands, e-mail: notifications-help@httpd.apache.org


[GitHub] [httpd] asfgit closed pull request #150: mod_xml2enc: avoid corrupting Microsoft Office documents

Posted by GitBox <gi...@apache.org>.
asfgit closed pull request #150:
URL: https://github.com/apache/httpd/pull/150


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@httpd.apache.org
For additional commands, e-mail: notifications-help@httpd.apache.org