php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #62429
Patch provider-c.patch revision 2012-06-27 06:43 UTC by dlundgren at syberisle dot net

Patch provider-c.patch for oauth Bug #62429

Patch version 2012-06-27 06:43 UTC

Return to Bug #62429 | Download this patch
Patch Revisions:

Developer: dlundgren@syberisle.net

--- provider.c.orig	2012-06-27 01:27:47.774510884 -0500
+++ provider.c	2012-06-27 01:29:14.254806608 -0500
@@ -828,6 +828,10 @@
 			}
 			signature = soo_sign(NULL, sbs, consumer_secret, token_secret, sig_ctx TSRMLS_CC);
 		}
+		else if (EG(exception)) {
+			/* pass exceptions */
+			break;
+		}
 
 		req_signature = zend_read_property(Z_OBJCE_P(pthis), pthis, OAUTH_PROVIDER_SIGNATURE, sizeof(OAUTH_PROVIDER_SIGNATURE) - 1, 1 TSRMLS_CC);
 		if (!signature || !Z_STRLEN_P(req_signature) || strcmp(signature, Z_STRVAL_P(req_signature))) {
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 05:01:29 2024 UTC