diff options
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r-- | Bugzilla.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm index 62b1af659..67ec611a9 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -113,7 +113,10 @@ sub init_page { }; } - do_ssl_redirect_if_required(); + # Because of attachment_base, attachment.cgi handles this itself. + if (basename($0) ne 'attachment.cgi') { + do_ssl_redirect_if_required(); + } # If Bugzilla is shut down, do not allow anything to run, just display a # message to the user about the downtime and log out. Scripts listed in |