From: lpsolit%gmail.com <> Date: Fri, 6 Mar 2009 19:58:55 +0000 (+0000) Subject: Bug 481910: Login forms point to http:// instead of https:// when ssl='authenticated... X-Git-Tag: bugzilla-3.3.4~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a1d041473337877d419e6c1681972ebcf078a11;p=thirdparty%2Fbugzilla.git Bug 481910: Login forms point to http:// instead of https:// when ssl='authenticated sessions' (regression) - Patch by Frédéric Buclin r/a=mkanat --- diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index 92901631fe..19dbf8db9b 100644 --- a/template/en/default/account/auth/login-small.html.tmpl +++ b/template/en/default/account/auth/login-small.html.tmpl @@ -28,7 +28,13 @@ [% target = "index.cgi" %] [% END %] -[% target = urlbase _ target %] +[%# If SSL is in use, use 'sslbase', else use 'urlbase'. %] +[% IF Param("sslbase") != "" && Param("ssl") != "never" %] + [% target = Param("sslbase") _ target %] +[% ELSE %] + [% target = Param("urlbase") _ target %] +[% END %] +