What we need is someone who has Nuxeo 5.x experience to change underlying code in a single file.
The issue I logged is as follows:
We are running Nuxeo 5.4.2 DM behind an SSL firewall which acts a little like a reverse proxy in that it appends an https address to a virtual URL so the user is running all communications to the SSL box within HTTPS and this then communicates to the relevant server behind the firewall which are running at HTTP.
We have a problem that the code in this update [login to view URL] works perfectly, however since the SSL box adds https at the last moment, an IE browser trying to download via a virtual https address is seen by this code as not running at https, hopefully that makes sense?
The HTTP header for this error is as follows:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: private, must-revalidate
Expires: Thu, 01 Jan 1970 00:00:00 GMT
X-Powered-By: JSF/1.2
Content-Disposition: attachment; filename=Morning%20and%20Evening%[login to view URL];
Pragma: no-cache
Content-Type: application/[login to view URL]
Content-Length: 11954
Date: Tue, 25 Oct 2011 08:38:54 GMT
Cache-control: no-store
We would like someone to change this code to make IE work.
/*
1.37 + * Internet Explorer file downloads over SSL do not work with certain HTTP cache control headers
1.38 + * See [login to view URL]
1.39 + * What is not mentioned in the above Knowledge Base is that "Pragma: no-cache" also breaks download in MSIE over SSL
1.40 + */
1.41 + private static void addCacheControlHeaders(HttpServletRequest request,
1.42 + HttpServletResponse response) {
1.43 + String userAgent = [login to view URL]("User-Agent");
1.44 + boolean secure = [login to view URL]();
1.45 + if (!secure) {
1.46 + String nvh = [login to view URL](VH_HEADER);
1.47 + if (nvh != null) {
1.48 + secure = [login to view URL]("https");
1.49 + }
1.50 + }
1.51 + [login to view URL]("User-Agent: " + userAgent);
1.52 + [login to view URL]("secure: " + secure);
1.53 + if (secure && ([login to view URL]("MSIE") > -1)) {
1.54 + [login to view URL]("Setting \"Cache-Control: max-age=15, must-revalidate\"");
1.55 + [login to view URL]("Cache-Control", "max-age=15, must-revalidate");
1.56 + } else {
1.57 + [login to view URL]("Setting \"Cache-Control: private\" and \"Pragma: no-cache\"");
1.58 + [login to view URL]("Cache-Control", "private");
1.59 + [login to view URL]("Pragma", "no-cache");
1.60 + [login to view URL]("Expires", 0);
1.61 +
1.62 + }
1.63 + }
Any questions please contact me.
Hi,
We are interested in this project and wish to pursue this project.
We have extensive experience on required skills.
Please check my PM for further details.
Thanks,
I A Rizvi