Details
Description
in several places the following code can be found in 1.8.2+
if (!empty($CFG->loginhttps))
{ $wwwroot = str_replace('http', 'https', $wwwroot); }after this $wwwroot will contain "httpss" when $wwwroot was equal to "https" before.
it should read:
if (!empty($CFG->loginhttps))
{ $wwwroot = str_replace('http:', 'https:', $wwwroot); }i found this code in the following files:
mod/choice/view.php
mod/forum/markposts.php
mod/forum/post.php
mod/forum/settracking.php
mod/forum/subscribe.php