We have an issue with a minor Jira bug that sends the Last-Modified header on its batch.css and batch.js files as “Wed, 31 Dec 1969 23:59:59 GMT” which is 1 second before the beginning of Unix epoch time… and thus our Webseal proxy rejects these files.
No fix from Atlassian on the horizon so I have been searching through the source code for a way to patch this ourselves, but no luck so far. Tried patching the HttpResponseHeaders class manually setting the header like below in its methods, but no luck.
Maybe this is not even possible, or I am looking in the wrong place, or just doing it wrong. I have done some simple plugins and scripting but am no means a Java expert. Any guidance would be greatly appreciated as this issue has us stuck on 8.5! (Issue is still there in 8.20.1, which is the version I am looking to modify, and upgrade to, if we can fix this.)