37 Commits
Author SHA1 Message Date
jrconlin 79952158a0 have normalizer gen signature
* fixes #27
* Added simple unit test for PHP lib.
2015-03-13 22:38:59 -07:00
jrconlin 24781ca250 use urlencode since it's closer to desired encoding 2015-01-15 14:26:47 -08:00
MarkoV 8c85c50e13 Update OAuthSimple.php
Take two of making signature base string generation according to RFC 5849 (http://tools.ietf.org/html/rfc5849)
2015-01-10 00:25:33 +00:00
jr conlin a56e61c442 Fixes for issues #20, #22 2014-09-28 18:12:36 -07:00
Matt Rose 988203c6c3 revert exception update 2014-05-23 16:25:20 -07:00
Matt Rose 9099195966 removed error logging from exception 2014-05-23 00:46:07 -07:00
Matt Rose 24d435bfa3 fixed bug where nonce was sometimes 1 character below min 2014-05-23 00:20:15 -07:00
JR Conlin db58c4e4c3 rawurlencode misencodes '~'.
Thanks to samharnack for the fix
2012-07-01 17:53:52 -07:00
jr conlin 5b705db226 Reset parameters to an empty list 2012-01-13 07:56:48 -08:00
jr conlin 8149dfced4 Updated licenses 2011-11-04 19:42:33 -07:00
Joe Cianflone 942a4d25c9 merged updates and pushed in GC features/fixes 2011-11-04 14:42:10 -04:00
Jaisen Mathai 7e2146ba3c OAuth only specifies signing x-www-url-form-encoded parameters.
In PHP to do a multipart file upload you specify it as such:
    array('file' => '@/path/to/file');
Checking for an @ as the first character of the value and an existing file path following.
2011-10-20 17:15:58 -07:00
Jaisen Mathai 1ff9b5ecda Using empty() on a string 0 returns true. Using strlen instead.
php -r '$string="0"; var_dump(empty($string));'
    bool(true)
2011-10-20 17:14:08 -07:00
David Bernal 5d9a595695 fixed bad url encoding 2011-05-21 19:01:55 -04:00
jr conlin 877e163ff1 added escape to PlainText signature
thanks to peorth for spotting that
2011-05-16 20:50:23 -07:00
jrconlin a000622d1a changed domain to jrconlin.com 2010-12-18 16:50:40 -08:00
jrconlin 224e437a1b sync'ing previous change;
not sure why git fell out of sync.
2010-11-04 23:37:13 -07:00
jrconlin 17cf7ddff8 added merge functions where not previously present; updated copyright date (finally); refactoring (backwards compatible); 2010-11-04 22:38:25 -07:00
jrconlin 11cbbcf23e set sbs to null 2010-11-04 22:16:11 -07:00
jrconlin 1bf5d9f45f change setTokensAndSecrets() to signatures() with backwards compatibility; 2010-11-04 22:14:59 -07:00
jrconlin 7def21f2ac changed code to always call set parameters (to make calling simpler) 2010-10-25 10:05:00 -07:00
jr conlin ca72a70f2e converted split to explode per issue #4 2010-05-26 14:32:40 -07:00
jr conlin bcb8bc83f4 Added reset func 2009-08-12 22:22:52 -07:00
jr conlin 260d6425b6 removed php warnings 2009-08-12 21:36:25 -07:00
jr conlin 3a875012a4 Applied patches from chad walker (Thanks Chad!) 2009-06-25 07:29:30 -07:00
jr conlin 76d7752de7 == bad === good 2009-03-11 15:41:18 -07:00
jr conlin 8d67389578 added check for 0 values to return zero for oauth escape 2009-03-10 07:39:59 -07:00
jr conlin a2904b1811 Removed error log dump of the SBS string 2009-02-21 20:51:10 -08:00
jr conlin 87f889013b Dammit, typo. 2009-02-17 16:13:18 -08:00
jr conlin 00a96ef829 Fixes to parameter merge (actually merge parameters, duh) 2009-02-17 10:51:07 -08:00
jr conlin b1e271ab02 unescape parameters before compiling (resolves some double escape issues) 2009-02-17 09:41:04 -08:00
jr conlin 2a51f10ac1 fixed bug so that setAction() worked (refactoring is not my friend) 2009-02-05 10:08:38 -08:00
jr conlin a755a82ed4 added convert for '+' to '%20' in encode 2009-01-21 08:48:28 -08:00
jr conlin d7bdebe8bf fix to copyright 2008-12-05 10:45:53 -08:00
jr conlin b013df6617 Changed the copyright to me for now. (Waiting for proper corp clearance) 2008-12-02 20:21:46 -08:00
jr conlin 12242a4fc7 Initial checkin 2008-11-20 16:22:40 -08:00
jr conlin aff40241ef Initial check-in 2008-11-16 16:55:21 -08:00