[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 --- Comment #15 from Alexander Schüßler --- Dear Mark and Christopher, in a nutshell: Both attempts will resolve the issue indeed. The Tomcat Dev build resolves the issue but also if I compile our application to a build with a fixed encoding.

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 --- Comment #14 from Mark Thomas --- Dev build for evaluation available from: https://people.apache.org/~markt/dev/v9.0.74-dev/ Usual caveats apply: - this is not an official release - use it at your own risk -- You are receiving this mail

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 --- Comment #13 from Christopher Schultz --- (In reply to Alexander Schüßler from comment #10) > I am not a developer at my company but I found a suspicious piece of code in > our codebase that would underline your assumption: That does

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 --- Comment #12 from Alexander Schüßler --- Hi Mark, thanks so much for all your help with this matter. I am impressed that you are more responsive than any paid support agent :) I will test the code change on our side and see if this also

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 --- Comment #11 from Mark Thomas --- Alex, You might want to test an updated header as if you look at the "working" one: content-disposition: inline; filename="5_ EL.pdf"; filename*=UTF-8''5_%CE%A0%CE%A1%CE%9F%CE%A3%20EL.pdf the

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 --- Comment #10 from Alexander Schüßler --- Hi Mark, I am not a developer at my company but I found a suspicious piece of code in our codebase that would underline your assumption: https://pastebin.com/m74V3qHx I suppose what you want us

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 --- Comment #9 from Christopher Schultz --- Alexander, have a look at this StackOverflow question and answer: https://stackoverflow.com/questions/93551/how-to-encode-the-filename-parameter-of-content-disposition-header-in-http I suspect your

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 --- Comment #8 from Alexander Schüßler --- P.S: I am also on Skype so also screen sharing on Skype are absolutely no problem if you are willing to, but I definitely do not expect that from you, it is just a kind offer I would like to make in

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 --- Comment #7 from Alexander Schüßler --- Hey Mark, I am not 100% sure what you want me to do but I guess you would like me to track a click on a file(i.e. a download link)in the file manager on a system where it works and not works each and

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 --- Comment #6 from Mark Thomas --- That there have been corrupted header values for years without issue supports the view that the header is probably not required. What would be useful for confirmation is the HTTP response headers. For a

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 --- Comment #5 from Alexander Schüßler --- Hi Mark, I am open for any solution for our issue. To underline, we are using the given config for AJP + Apache Tomcat for years without changes and never saw issues like this. The only thing that

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 --- Comment #4 from Mark Thomas --- Thanks. It looks like a UTF-8 value is being put into an HTTP header. Prior to the refactoring of MessageBytes, that would have resulted in a corrupted header. Now it triggers an error to make the problem

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 --- Comment #3 from Alexander Schüßler --- Hi, to clarify: It is about the non-unicode characters in the FILE NAMES - I guess this was not clear in my initial report! For instance one of our clients from Greece struggled with a file named

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 --- Comment #2 from Alexander Schüßler --- Hi Mark, thanks for getting back to me so fast! Appreciate it. Please see below a complete sample of a stacktrace: #-- 28-Feb-2023

[Bug 66512] File downloads render as empty if access to Tomcat based application is delegated via AJP

2023-03-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66512 Mark Thomas changed: What|Removed |Added OS||All --- Comment #1 from Mark Thomas