[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2024-03-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 Joe Orton changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #17 from Joe Orton

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2024-02-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 Joe Orton changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|---

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2024-02-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 --- Comment #15 from Joe Orton --- So in fact I should have been testing on 2.4 rather than trunk and I would not have wasted half a day on this! :) https://github.com/apache/httpd/commit/c57a036dc3e116f5a397bd6a97da77dd6b503a83 significantly

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2024-02-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 --- Comment #14 from Joe Orton --- Thanks. I think what I was missing here is that mod_proxy_html/mod_xml2enc it not actually transforming the content of the responses, which can really only happen for HTML documents if I'm following the code

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2024-02-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 --- Comment #13 from Joseph Heenan --- @Joe - your patch looks sensible to me. I don't have a minimum config; the corruption happened on a pretty lightly configured apache2 instance on Ubuntu 20.04.6. The important part of the config is

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2024-02-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 --- Comment #12 from Joe Orton --- Rereading this again, maybe Nick was just referring to application/xml which is wrongly excluded after 1884505. I still think we should follow RFC 7303 here rather than matching "xml" at any point in the

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2023-11-22 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 --- Comment #11 from Joe Orton --- A user hit this also confirmed that not loading mod_xml2enc also fixes the issue. RFC 7303 "XML Media Types" - https://www.rfc-editor.org/rfc/rfc7303.html I think the module should follow the rules there:

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2020-12-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 --- Comment #10 from Joseph Heenan --- (In reply to Nick Kew from comment #7) > Github 150 won't work: it precludes xml doctypes that should be processed. @Nick Can you please be very explicit and give a few examples of mime types that should

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2020-12-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 --- Comment #9 from Joseph Heenan --- (In reply to Karlo from comment #8) > Data point: disabling mod_xml2enc fixes this problem for me. Disabling mod_xml2enc fixed it for me too. -- You are receiving this mail because: You are the assignee

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2020-12-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 --- Comment #8 from Karlo --- Data point: disabling mod_xml2enc fixes this problem for me. -- You are receiving this mail because: You are the assignee for the bug. - To

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2020-12-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 Nick Kew changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #7 from Nick Kew ---

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2020-12-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 Joseph Heenan changed: What|Removed |Added CC||jos...@heenan.me.uk --- Comment #6

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2020-12-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 --- Comment #5 from Joe Orton --- Committed in r1884505, but oh, I missed the comment from Giovanni, sorry. "Excel OOXML mime type starts with "application" so it won't match that condition," if the type starts with "application/", then

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2020-12-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 --- Comment #4 from Giovanni Bechis --- Created attachment 37603 --> https://bz.apache.org/bugzilla/attachment.cgi?id=37603=edit fix for openxml documents Excel OOXML mime type starts with "application" so it won't match that condition,

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2020-12-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 --- Comment #3 from Joseph Heenan --- I submitted a possible fix here: https://github.com/apache/httpd/pull/150 -- You are receiving this mail because: You are the assignee for the bug.

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2020-12-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 --- Comment #2 from Joseph Heenan --- I've just run into this same problem. The issue is that the file is being utf8 encoded - notice how the character 0xb1 is being turned into 0xc2 0xb1, which is it's utf8 encoding (

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2020-04-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 --- Comment #1 from Karlo --- Was able to cleanly reproduce: 1) New VM "loadbalancer", default centos7 install, yum install httpd mod_proxy_html, config: # tail -n 18 conf/httpd.conf ProxyHTMLEnable On ProxyHTMLInterp On ProxyPreserveHost

[Bug 64339] mod_proxy_html changing docx header / file content, leading to corrupt documents

2020-04-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64339 Karlo changed: What|Removed |Added CC||karlo_bzapache@luiten.famil