juampy72/OAuth-PHP — pull request #1 by ksenzee (2012-08-21 01:53:47+00:00)
Title: Better detect the Authorization header in FastCGI environments

In situations where apache_request_headers() is not available (such as under FastCGI) the "Authorization" header may show up as $_SERVER['HTTP_AUTH']. The existing code changes HTTP_AUTH to Auth, but since Auth isn't the correct name for the header, the request fails. This pull request changes the header name from Auth back to Authorization, which is what the calling code is looking for as a header name.

Without this change, servers with FastCGI may not be able to accept oAuth requests using the Authorization header.