Changeset 6523 for sandbox/2.4.1-3/prototype/library/tonic/lib/tonic.php
- Timestamp:
- 06/15/12 14:49:24 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.1-3/prototype/library/tonic/lib/tonic.php
r6351 r6523 1 1 <?php 2 3 use prototype\api\Config as Config; 4 2 5 /* 3 6 * This file is part of the Tonic. … … 433 436 $arrayData = array(); 434 437 if($data){ 435 $arrayIndex = explode('&', $data);438 $arrayIndex = explode('&', urldecode($data)); 436 439 foreach($arrayIndex as $key => $value){ 437 440 list($i,$val) = explode ('=', $value); … … 655 658 $token = $oauth->getBearerToken(); 656 659 $oauth->verifyAccessToken($token); 660 661 if(!Config::me('uidNumber')) 662 throw new ResponseException('Session experired.', Response::UNAUTHORIZED); 657 663 } 658 664 catch (OAuth2ServerException $oauthError) … … 660 666 $oauthError->sendHttpResponse(); 661 667 } 668 662 669 } 663 670
Note: See TracChangeset
for help on using the changeset viewer.