php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59819 OAuthProvider refers to nonexistent method "consumerKeyHandler"
Submitted: 2011-06-17 07:56 UTC Modified: 2011-07-21 16:35 UTC
From: piet at byteorbit dot com Assigned:
Status: Closed Package: oauth (PECL)
PHP Version: 5.3.5 OS: Ubuntu 11.04
Private report: No CVE-ID: None
 [2011-06-17 07:56 UTC] piet at byteorbit dot com
Description:
------------
provider.c refers to the consumerHandler method incorrectly 
as consumerKeyHandler in the following places:

1. In an error message in function oauth_provider_call_cb():

"Consumer key/secret handler not specified, did you set a 
valid callback via OAuthProvider::consumerKeyHandler()?"

2. In the prototype comment strings:

proto void OAuthProvider::callConsumerKeyHandler()
proto void OAuthProvider::consumerKeyHandler(callback cb)

These should simply be updated to reflect the correct method 
name, i assume.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-21 16:35 UTC] jawed@php.net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/oauth


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC