Ticket #2200: webrequest_issecure.patch
| File webrequest_issecure.patch, 0.7 kB (added by eckhofer, 1 year ago) |
|---|
-
lib/request/sfWebRequest.class.php
old new 690 690 $pathArray = $this->getPathInfoArray(); 691 691 692 692 return ( 693 (isset($pathArray['HTTPS']) && (strtolower($pathArray['HTTPS']) == 'on' || strtolower($pathArray['HTTPS']) == 1)) 694 || 695 (isset($pathArray['HTTP_X_FORWARDED_PROTO']) && strtolower($pathArray['HTTP_X_FORWARDED_PROTO']) == 'https') 693 isset($pathArray['HTTPS']) && (strtolower($pathArray['HTTPS']) == 'on' || strtolower($pathArray['HTTPS']) == 1) 696 694 ); 697 695 } 698 696