In OAuth.php,

      if ($out['Auth']) {
        $out['Authorization'] = $out['Auth'];
      }

gives the following notice:
Notice: Undefined index: Auth in OAuthUtil::get_headers() (line 844 of .../oauth/lib/OAuth.php)
if $out['Auth'] doesn't already exist.

Nick_vh's patch from #1365168-9: Can't authorize consumers when running under FastCGI fixes this. Please give authorship to g10 and him.

CommentFileSizeAuthor
#1 undefined_index_auth_headers-1976504-1.patch360 bytesrj
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rj’s picture

It would be nice if this was patched, this was causing 401 errors with services and using taxonomy.getTree, along with the plethora of notices in the logs. Patch against 7.x-3.x-dev is attached.

Nick_vh’s picture

Status: Needs review » Reviewed & tested by the community
juampynr’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

added g10 as co-author