]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 308876: Iff ssl is "always", whining (and other non-interactive scripts?) get...
authorlpsolit%gmail.com <>
Thu, 22 Sep 2005 23:53:15 +0000 (23:53 +0000)
committerlpsolit%gmail.com <>
Thu, 22 Sep 2005 23:53:15 +0000 (23:53 +0000)
Bugzilla/CGI.pm

index f516dd5c61b8ddaf7828665fa744cf60c31c4473..8db65eedad6e6eed5fdf5993a824220ea404ac82 100644 (file)
@@ -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'));
     }