Commit af7c9b0d authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 308876: Iff ssl is "always", whining (and other non-interactive scripts?)…

Bug 308876: Iff ssl is "always", whining (and other non-interactive scripts?) get a 302-moved error - Patch by A. Karl Kornel <karl@kornel.name> r=joel a=justdave
parent f4d0ddc5
......@@ -64,7 +64,7 @@ sub new {
$self->charset(Param('utf8') ? 'UTF-8' : '');
# Redirect to SSL if required
if (Param('sslbase') ne '' and Param('ssl') eq 'always') {
if (Param('sslbase') ne '' and Param('ssl') eq 'always' and i_am_cgi()) {
$self->require_https(Param('sslbase'));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment