Skip to content

Commit

Permalink
Issue #670454 by pwolanin, cburschka, effulgentsia: Support HTTP Auth…
Browse files Browse the repository at this point in the history
…orization in CGI environments.
  • Loading branch information
DavidRothstein committed Aug 5, 2013
1 parent f58bc6a commit 7a036f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ DirectoryIndex index.php index.html index.htm
RewriteCond %{HTTPS} on
RewriteRule ^ - [E=protossl:s]

# Make sure Authorization HTTP header is available to PHP
# even when running as CGI or FastCGI.
RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

# Block access to "hidden" directories whose names begin with a period. This
# includes directories used by version control systems such as Subversion or
# Git to store control files. Files whose names begin with a period, as well
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

Drupal 7.23, xxxx-xx-xx (development version)
-----------------------
- Changed the default .htaccess file to support HTTP authorization in CGI
environments.
- Changed the password reset form to pre-fill the username when requested via a
URL query parameter, and used this in the error message that appears after a
failed login attempt (minor data structure and behavior change).
Expand Down

0 comments on commit 7a036f1

Please sign in to comment.