Opened 4 years ago

Closed 4 years ago

#1485655 closed Feature Requests (fixed)

Allow to force IE style headers for attachments in non-HTTPS session

Reported by: Pecisk Owned by:
Priority: 5 Milestone: 0.3.1
Component: Core functionality Version: git-master
Severity: normal Keywords:
Cc:

Description

I suggest to introduce new configuration variable which would force the usage of headers now used specially for attachments while using Internet Explorer and HTTPS. Code in question is in program/include/rcube_share.inc:

if (isset($_SERVER['HTTPS'])) {
   header('Pragma: ');
   header('Cache-Control: ')
}

This is necesary for solutions where PHP code is parsed on non-HTTPS daemon and then delivered trough HTTPS connection to client (Combination of lightttpd and Apache comes into main).

This would work like this: having configuration variable set to true would force to pass such headers to client while providing attachment. "If" block mentioned above just need additional check and vola - it's set.

Change History (2)

comment:1 Changed 4 years ago by thomasb

  • Milestone changed from 0.3-beta to 0.4-beta
  • Type changed from Bugs to Feature Requests

comment:2 Changed 4 years ago by alec

  • Milestone changed from 0.4-beta to 0.3.1
  • Resolution set to fixed
  • Status changed from new to closed

Added 'use_https' option in [161c28df].

Note: See TracTickets for help on using tickets.