summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Util.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-08-01 05:49:38 +0200
committerDylan William Hardison <dylan@hardison.net>2018-08-01 05:49:38 +0200
commit01309f9f36d1767c8d6984364c47539fed3946e6 (patch)
tree22dcba71661b1382804da55f5e9c6cf4ff56747a /Bugzilla/Util.pm
parentc54dcbbe9b9ec1199e6b7e8903ff65ac7448995d (diff)
downloadbugzilla-01309f9f36d1767c8d6984364c47539fed3946e6.tar.gz
bugzilla-01309f9f36d1767c8d6984364c47539fed3946e6.tar.xz
add more debugging but also probably fix redirect problem
Diffstat (limited to 'Bugzilla/Util.pm')
-rw-r--r--Bugzilla/Util.pm3
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();
}