|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59867 Can get status from twiter (regression ?)
Submitted: 2011-07-22 12:16 UTC Modified: 2011-07-22 12:56 UTC
From: Fedora at FamilleCollet dot com Assigned:
Status: Closed Package: oauth (PECL)
PHP Version: 5_3 SVN-2011-07-22 (dev) OS: GNU/Linux (Fedora 14)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: Fedora at FamilleCollet dot com
New email:
PHP Version: OS:


 [2011-07-22 12:16 UTC] Fedora at FamilleCollet dot com
Seems to have a regression which result in a "Invalid auth/bad request" when calling

Version 1.1.0 : OK.
Version 1.2   : segfault (probably #22819)
Version 1.2.1 : auth issue

Other call still work, p.e.

Reproduce code:
The getStatus function in

Expected result:
$ twit

twit version 0.1

Name: Remi Collet
Last: something...
Date: Tue Jul 19 19:44:41 +0000 2011

Actual result:
$ twit

twit version 0.1

Error: Invalid auth/bad request (got a 401, expected HTTP/1.1 20X or a redirect)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-22 12:50 UTC]
If the HTTP method parameter wasn't specified the SBS was being 
generated before we set a the default HTTP method (GET). The result 
looking like:

  string(325) "

I'm fixing this in trunk and I'm going to blast the 1.2.1 release after releasing 
1.2.2. Thx for the report and sorry for the regression.

- JJ
 [2011-07-22 12:56 UTC]
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at

Fixed in 1.2.2.

- JJ
 [2011-07-22 13:17 UTC] fedora at famillecollet dot com
Thanks a lot for the very quick fix
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Dec 09 09:01:27 2023 UTC