function LingotekOAuthRequest::urldecode in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.7 lib/oauth-php/library/LingotekOAuthRequest.php \LingotekOAuthRequest::urldecode()
- 7.5 lib/oauth-php/library/LingotekOAuthRequest.php \LingotekOAuthRequest::urldecode()
- 7.6 lib/oauth-php/library/LingotekOAuthRequest.php \LingotekOAuthRequest::urldecode()
* Decode a string according to RFC3986. * Also correctly decodes RFC1738 urls. * *
Parameters
string s: * @return string
3 calls to LingotekOAuthRequest::urldecode()
- LingotekOAuthRequest::checks in lib/
oauth-php/ library/ LingotekOAuthRequest.php - * Perform some sanity checks. * * @exception OAuthException2 thrown when sanity checks failed
- LingotekOAuthRequest::getParam in lib/
oauth-php/ library/ LingotekOAuthRequest.php - * Get a parameter, value is always urlencoded * *
- LingotekOAuthRequestVerifier::verifyExtended in lib/
oauth-php/ library/ LingotekOAuthRequestVerifier.php - * Verify the request * *
File
- lib/
oauth-php/ library/ LingotekOAuthRequest.php, line 630
Class
- LingotekOAuthRequest
- Object to parse an incoming OAuth request or prepare an outgoing OAuth request
Code
function urldecode($s) {
if ($s === false) {
return $s;
}
else {
return rawurldecode($s);
}
}