diff options
author | lpsolit%gmail.com <> | 2005-09-23 01:53:15 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-09-23 01:53:15 +0200 |
commit | af7c9b0dbf573d0c04e433f2ad986aed0684748e (patch) | |
tree | 1c5f5a5d2c288c6f22ad6154eb456be93f68e458 | |
parent | f4d0ddc58cc872a275053f7e1f8849acd864241a (diff) | |
download | bugzilla-af7c9b0dbf573d0c04e433f2ad986aed0684748e.tar.gz bugzilla-af7c9b0dbf573d0c04e433f2ad986aed0684748e.tar.xz |
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
-rw-r--r-- | Bugzilla/CGI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index f516dd5c6..8db65eeda 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -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')); } |