diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-08-01 05:49:38 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-08-04 18:25:43 +0200 |
commit | 43837b61eaf9bc76adadbf8b515522bdb757c67b (patch) | |
tree | 26fb168161e212cd31f260d5d6ceec95fa597da4 /Bugzilla/Util.pm | |
parent | 2397c5e491cc626a90e4f65bfd86044831121570 (diff) | |
download | bugzilla-43837b61eaf9bc76adadbf8b515522bdb757c67b.tar.gz bugzilla-43837b61eaf9bc76adadbf8b515522bdb757c67b.tar.xz |
add more debugging but also probably fix redirect problem
Diffstat (limited to 'Bugzilla/Util.pm')
-rw-r--r-- | Bugzilla/Util.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Util.pm b/Bugzilla/Util.pm index a8477a62d..aa524b263 100644 --- a/Bugzilla/Util.pm +++ b/Bugzilla/Util.pm @@ -29,7 +29,7 @@ use base qw(Exporter); get_text template_var disable_utf8 enable_utf8 detect_encoding email_filter round extract_nicks); - +use Bugzilla::Logging; use Bugzilla::Constants; use Bugzilla::RNG qw(irand); @@ -317,6 +317,7 @@ sub do_ssl_redirect_if_required { # If we're already running under SSL, never redirect. return if $ENV{HTTPS} && $ENV{HTTPS} eq 'on'; + DEBUG("Redirect to HTTPS because \$ENV{HTTPS}=$ENV{HTTPS}"); Bugzilla->cgi->redirect_to_https(); } |