Jetpack_Signature::encode_3986 PHP Method

encode_3986() public method

public encode_3986 ( $string )
    function encode_3986($string)
    {
        $string = rawurlencode($string);
        return str_replace('%7E', '~', $string);
        // prior to PHP 5.3, rawurlencode was RFC 1738
    }