[dev] IE and download problems

Jan Schneider jan@horde.org
Tue, 01 Oct 2002 11:32:02 +0200


Leena Heino wrote:

>On Tue, 1 Oct 2002, Leena Heino wrote:
>
>  
>
>>It seems that IE download works in Horde CVS HEAD versions because
>>in horde/lib/Browser.php there are these lines:
>>if ($this->hasQuirk('cache_ssl_downloads')) {
>>    header('Expires: 0');
>>    header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
>>    header('Pragma: public');
>>}
>>
>>Any chance that this might be backported to Horde CVS RELENG version?
>>    
>>
>It would seem that downloadHeaders function was added to Horde 2.2
>(RELENG) and if this function were to be used in IMP 3.2 (RELENG) then
>IMP would not be backwards compatible to Horde versions 2.0 or 2.1.
>
>Therefore it seems that in order for IMP to work with IE and with Horde
>version 2.0 and 2.1 is to add "Pragma: public" to imp/folders.php and
>imp/view.php. If backwards compatibility to Horde 2.0 or 2.1 is not
>important then patch horde/lib/Browser.php and use downloadHeaders()
>function in IMP.
>  
>
BC is an issue, so adding the pragma header to all necessary files is 
the right solution. And this actually fixed your problem?