Cerberus Helpdesk Forums  

Go Back   Cerberus Helpdesk Forums > Community Support (Free) > General Help

Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2008, 06:28 PM
pk4 pk4 is offline
Prof. Software Tester
 
Join Date: Oct 2007
Posts: 69
Default IE7 attachment problems

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?
Reply With Quote
  #2  
Old 04-16-2008, 07:30 PM
Hildy's Avatar
Hildy Hildy is offline
WGM - Developer
 
Join Date: May 2006
Posts: 1,970
Default

Quote:
Originally Posted by pk4 View Post
Is anyone else having this problem? is it in the bug db already?
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?
__________________
Dan Hildebrandt, Developer, WebGroup Media LLC.

Cerberus Helpdesk 4.0
Website | Blog | Docs | FAQ | Bugs/Roadmap | Pricing
Reply With Quote
  #3  
Old 04-17-2008, 08:32 PM
pk4 pk4 is offline
Prof. Software Tester
 
Join Date: Oct 2007
Posts: 69
Default

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
Reply With Quote
  #4  
Old 04-17-2008, 08:34 PM
pk4 pk4 is offline
Prof. Software Tester
 
Join Date: Oct 2007
Posts: 69
Default

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
Reply With Quote
  #5  
Old 04-21-2008, 06:40 PM
Hildy's Avatar
Hildy Hildy is offline
WGM - Developer
 
Join Date: May 2006
Posts: 1,970
Default

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
__________________
Dan Hildebrandt, Developer, WebGroup Media LLC.

Cerberus Helpdesk 4.0
Website | Blog | Docs | FAQ | Bugs/Roadmap | Pricing
Reply With Quote
  #6  
Old 11-21-2008, 11:51 AM
pexiblack pexiblack is offline
Junior Member
 
Join Date: Nov 2008
Posts: 19
Default

Quote:
Originally Posted by pk4 View Post
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?
I run Cerberus on a self-signed certificate, and had the same problem with downloading files in IE

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");
Reply With Quote
  #7  
Old 06-19-2009, 11:54 PM
squeezer squeezer is offline
Junior Member
 
Join Date: Jun 2008
Posts: 11
Default As a followup

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.
Reply With Quote
  #8  
Old 09-28-2009, 10:45 AM
pexiblack pexiblack is offline
Junior Member
 
Join Date: Nov 2008
Posts: 19
Default the diff

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");
you can apply it (on linux/unix) by saving it and running something like this in cerberus root dir
Code:
patch -p0 < /path/to/ie_ssl_patch.diff
Reply With Quote
  #9  
Old 02-09-2010, 11:49 AM
andrewisett andrewisett is offline
Junior Member
 
Join Date: Feb 2010
Location: Arlington, VA
Posts: 1
Default IE 7 8, Windows 7 attachment Problems

This fix works on IE 8 on a Windows 7 machine as well. Thanks for posting it.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT. The time now is 04:25 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.