Advertisement:

Author Topic: SMF 2.0.14 - force_ssl  (Read 3119 times)

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,056
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
SMF 2.0.14 - force_ssl
« 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
Code: [Select]

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);

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 9,133
  • Gender: Male
    • XinYenFon on GitHub
    • @XinYenFon on Twitter
Re: SMF 2.0.14 - force_ssl
« Reply #1 on: August 19, 2017, 05:45:40 PM »
Possibly leftover code while porting from 2.1.

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 2,504
    • sbulen on GitHub
Re: SMF 2.0.14 - force_ssl
« Reply #2 on: August 19, 2017, 06:20:16 PM »
Correct...   it doesn't belong there...
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 2,504
    • sbulen on GitHub
Re: SMF 2.0.14 - force_ssl
« Reply #3 on: November 08, 2019, 07:23:19 PM »
This was fixed in 2.0.15.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp