![]() |
|
#1
|
|||
|
|||
|
I'm getting reports that IE7 users cannot download message attachments from the helpdesk. After the save dialog they get an error like "Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found".
Note that this helpdesk is all https I seem to remember having problems with this on secure sites with IE7 (header quirks). Is anyone else having this problem? is it in the bug db already? |
|
#2
|
||||
|
||||
|
I haven't seen this before, nor did a quick search http://www.wgmdev.com/jira/browse/CHD turn up a matching issue.
Can you confirm that the same user can download the same attachment with a different browser? Is this limited to specific attachments, or is it across the board? Is it all IE users, specific ones, a specific version of IE that has this issue? |
|
#3
|
|||
|
|||
|
OK, i just verified this with the same user, same attachment (WAV file), same machine.
In this case, WAV is associated with Widows Media Player on all browsers Works: Seamonkey 1.1.1 Firefox 2.0.0.14 Doesn't Work: IE 6.0.2900.2180.xpsp_sp2_gdr.070227-2254 IE 7.0.5730.13 I realize this isn't exactly exhaustive testing data (yet), i was hoping that someone else was seeing something like this so i could avoid spending a lot of time isolating it. Maybe i'm not that lucky ![]() |
|
#4
|
|||
|
|||
|
Oops, forgot headers:
Date: Thu, 17 Apr 2008 20:32:41 GMT Server: Apache/2.2.8 (FreeBSD) mod_ssl/2.2.8 OpenSSL/0.9.8g DAV/2 SVN/1.4.6 PHP/5.2.5 with Suhosin-Patch X-Powered-By: PHP/5.2.5 Expires: Mon, 26 Nov 1962 00:00:00 GMT Cache-Control: private Pragma: no-cache Last-Modified: Thu,17 Apr 200820:32:41 GMT Content-Transfer-Encoding: binary Content-Length: 604214 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: audio/wav Last edited by pk4; 04-17-2008 at 08:34 PM. Reason: headers didn't paste right |
|
#5
|
||||
|
||||
|
pk4, This seems to be a known issue with IE, SSL connections, and saving inlined content.
There's some good info here: http://www.activecollab.com/forums/topic/903/ (including an indication that setting the Cache-Control: header to public may fix this). And... from the horse's mouth, so to speak: http://support.microsoft.com/kb/812935 |
|
#6
|
|||
|
|||
|
Quote:
I don't know where to post diff's as the license asks me to do, so I'll just post it here. Here's a diff that fixes the problem for me Code:
Index: plugins/cerberusweb.core/classes.php
===================================================================
--- plugins/cerberusweb.core/classes.php (revision 792)
+++ plugins/cerberusweb.core/classes.php (working copy)
@@ -5215,7 +5215,7 @@
header("Expires: Mon, 26 Nov 1962 00:00:00 GMT\n");
header("Last-Modified: " . gmdate("D,d M YH:i:s") . " GMT\n");
header("Cache-control: private\n");
- header("Pragma: no-cache\n");
+ header("Pragma: public\n");
header("Content-Type: " . $file->mime_type . "\n");
header("Content-transfer-encoding: binary\n");
header("Content-Length: " . $file->getFileSize() . "\n");
|
|
#7
|
|||
|
|||
|
Since the developers moved some files around since the last post in this thread,
I made the following changes - header("Pragma: no-cache\n"); + header("Pragma: public\n"); in cerb4\plugins\cerberusweb.core\api\uri\files.php on line ~50 and things are working again in IE. |
|
#8
|
|||
|
|||
|
here is a updated diff made from revision 932
Code:
Index: plugins/cerberusweb.core/api/uri/files.php
===================================================================
--- plugins/cerberusweb.core/api/uri/files.php (revision 932)
+++ plugins/cerberusweb.core/api/uri/files.php (working copy)
@@ -48,7 +48,7 @@
header("Expires: Mon, 26 Nov 1962 00:00:00 GMT\n");
header("Last-Modified: " . gmdate("D,d M YH:i:s") . " GMT\n");
header("Cache-control: private\n");
- header("Pragma: no-cache\n");
+ header("Pragma: public\n");
header("Content-Type: " . $file->mime_type . "\n");
header("Content-transfer-encoding: binary\n");
header("Content-Length: " . $file->getFileSize() . "\n");
Code:
patch -p0 < /path/to/ie_ssl_patch.diff |
|
#9
|
|||
|
|||
|
This fix works on IE 8 on a Windows 7 machine as well. Thanks for posting it.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| upgrade problems from 2.4.0 to 4.x | erikwelch | General Help | 13 | 10-09-2009 02:34 PM |
| Mail with attachment and special chars in file name get a no valid link in ticket. | PerDellrup | General Help | 2 | 06-03-2008 07:58 PM |
| Attachment visibility | rfarnell | General Help | 0 | 03-27-2008 12:12 PM |
| Installation Problems | Alpha Eco | General Help | 20 | 02-25-2008 07:09 PM |