View Issue Details

IDProjectCategoryView StatusLast Update
0003186mantisbtbugtrackerpublic2003-12-13 04:37
Reporterdsmoses Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0003186: $t_protocol not set right
Description

My PHP 4.3.0/Netscape Enterprise 6.1/Linux installation with Mozilla client evaluates $_SERVER['HTTPS'] as 'OFF'.

so line 51 of config_defaults_inc.php:
if ( isset( $_SERVER['HTTPS'] ) && ( $_SERVER['HTTPS'] != 'off')) {
evaluates to true an sets $t_protocol to 'https'. I noticed this when the stylesheet was not being read, since the link was pointing to https:// instead of http://

Additional Information

Suggest changing line 51 to:
if ( isset( $_SERVER['HTTPS'] ) && ( strtolower($_SERVER['HTTPS']) != 'off') ) {

TagsNo tags attached.

Activities

vboctor

vboctor

2003-05-23 13:52

manager   ~0004326

Thanks dsmoses. Fixed in CVS and will be available in 0.18.0a5