]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
restore old env for unsafe auth
authorDylan William Hardison <dylan@hardison.net>
Wed, 29 Nov 2017 17:56:26 +0000 (12:56 -0500)
committerDylan William Hardison <dylan@hardison.net>
Wed, 29 Nov 2017 17:56:35 +0000 (12:56 -0500)
Bugzilla/Install/Filesystem.pm
README.rst
auth.cgi

index 4e7ad23023c0fdc3f6c1b60a1908faee99bdcdb9..bb87e499e6e536bbcb938973213fb040818ecec3 100644 (file)
@@ -106,7 +106,7 @@ sub HTTPD_ENV_CONF {
 
     return join( "\n",
       "PerlPassEnv LOCALCONFIG_ENV",
-      "PerlPassEnv ALLOW_UNSAFE_AUTH_DELEGATION",
+      "PerlPassEnv BUGZILLA_UNSAFE_AUTH_DELEGATION",
       map { "PerlPassEnv " . $_ } ENV_KEYS
     ) . "\n";
 }
index ed800b7584b2e263c315d70b6e4a6ac7a64ceee0..86e4dd414fe11f739e18a4af9cdd032e592c8d49 100644 (file)
@@ -173,7 +173,7 @@ PORT
   plain-text HTTP connections.
   Default: 8000
 
-ALLOW_UNSAFE_AUTH_DELEGATION
+BUGZILLA_UNSAFE_AUTH_DELEGATION
   This should never be set in production. It allows auth delegation over http.
 
 BMO_db_driver
index 6549ed62da458c0f3731286ccdec9dabe5603d89..adf5d34751632de9fe83d716aed1cf4a6198d64d 100755 (executable)
--- a/auth.cgi
+++ b/auth.cgi
@@ -45,7 +45,7 @@ ThrowUserError("auth_delegation_invalid_description")
 my $callback_uri  = URI->new($callback);
 
 my $legal_protocol
-    = $ENV{ALLOW_UNSAFE_AUTH_DELEGATION}
+    = $ENV{BUGZILLA_UNSAFE_AUTH_DELEGATION}
     ? qr/^https?$/i # http or https
     : qr/^https$/i; # https only