Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: vbgamer45 on August 19, 2017, 03:14:47 PM

Title: SMF 2.0.14 - force_ssl
Post by: vbgamer45 on August 19, 2017, 03:14:47 PM
I am not seeing this $modSettings['force_ssl'] variable defined any where in the codebase except this one spot

In sources/Load.php


if (!empty($modSettings['force_ssl']) && $image_proxy_enabled && stripos($user_settings['avatar'], 'http://') !== false)
$user_settings['avatar'] = strtr($boardurl, array('http://' => 'https://')) . '/proxy.php?request=' . urlencode($user_settings['avatar']) . '&hash=' . md5($user_settings['avatar'] . $image_proxy_secret);

Title: Re: SMF 2.0.14 - force_ssl
Post by: Antes on August 19, 2017, 05:45:40 PM
Possibly leftover code while porting from 2.1.
Title: Re: SMF 2.0.14 - force_ssl
Post by: shawnb61 on August 19, 2017, 06:20:16 PM
Correct...   it doesn't belong there...
Title: Re: SMF 2.0.14 - force_ssl
Post by: shawnb61 on November 08, 2019, 07:23:19 PM
This was fixed in 2.0.15.