You are here

public static function OAuthUtil::urlencodeRFC3986 in OAuth 1.0 6

4 calls to OAuthUtil::urlencodeRFC3986()
OAuthRequest::to_header in ./OAuth.php
builds the Authorization: header
OAuthRequest::to_postdata in ./OAuth.php
builds the data one would send in a POST request
OAuthSignatureMethod_PLAINTEXT::build_signature in ./OAuth.php
OAuthToken::to_string in ./OAuth.php
generates the basic string serialization of a token that a server would respond to request_token and access_token calls with

File

./OAuth.php, line 726

Class

OAuthUtil

Code

public static function urlencodeRFC3986($string) {

  /*{{{*/
  return str_replace('%7E', '~', rawurlencode($string));
}