elgg-gitbot / test2

0 stars 0 forks source link

Bad behavior when running https-enabled logins (Trac #1408) #99

Closed elgg-gitbot closed 11 years ago

elgg-gitbot commented 11 years ago

Original ticket http://trac.elgg.org/ticket/1408 on 2009-12-09 by trac user aphrodisiac, assigned to unknown.

Elgg version: 1.6

When running https-enabled logins, and then switching to a fully ssl site, /views/default/account/forms/login.php adds an extra s to the URL. Obviously one can just disable https logins and things will work fine, but the fix below stupid-proofs the whole thing for dummies like me:

(line 27-28) if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) $login_url = str_replace("http:", "https:", $vars['url']);

to only add an s when there isn't one already there.

elgg-gitbot commented 11 years ago

brettp wrote on 2010-02-01

This was fixed in [svn:3554].