Statistics: Posted by Raam Dev — January 2nd, 2012, 9:45 pm
$file = rawurlencode($file);
add_shortcode('url-encode', 'wp_url_encode_wrapper');
function wp_url_encode_wrapper($atts, $value){
return urlencode($value);
}
<a href="/?s2member_file_download=/sparc/10/[url-encode]gtk+-2.12.0-sol10-sparc-local.gz[/url-encode]">gtk+-2.12.0-sol10-sparc-local.gz</a>
Statistics: Posted by colinp386 — December 31st, 2011, 11:40 am
Statistics: Posted by Jason Caldwell — December 30th, 2011, 10:25 pm
Statistics: Posted by colinp386 — December 30th, 2011, 5:51 pm
Statistics: Posted by colinp386 — December 30th, 2011, 1:01 pm
Statistics: Posted by Cristián Lávaque — December 30th, 2011, 4:40 am
Statistics: Posted by colinp386 — December 30th, 2011, 2:07 am
<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>sparc/8/gtk -2.12.0-sol8-sparc-local.gz</Key>
<RequestId>B4304A631D838725</RequestId>
<HostId>XXXXXXXXXX</HostId>
</Error>
<Error>
<Code>SignatureDoesNotMatch</Code>
<Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>
<StringToSignBytes>47 45 54 0a
<snip --
||
snip >
6e 73 65 2d 65 78 70 69 72 65 73 3d 46 72 69 2c 20 32 33 20 44 65 63 20 32 30 31 31 20 30 32 3a 34 31 3a 30 35 20 47 4d 54</StringToSignBytes>
<RequestId>8A90E89632DA6ADB</RequestId>
<HostId>XXXXXXXXX</HostId>
<SignatureProvided>XXXXXXXXXSignatureProvided>
<StringToSign>GET 1325212895
/unixpackages/sparc/8/gtk-2.12.0-sol8-sparc-local.gz?response-cache-control=no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0&response-content-disposition=attachment; filename="gtk -2.12.0-sol8-sparc-local.gz"&response-content-type=application/x-gzip&response-expires=Fri, 23 Dec 2011 02:41:05 GMT</StringToSign>
<AWSAccessKeyId>XXXXXXXXX</AWSAccessKeyId>
</Error>
Statistics: Posted by colinp386 — December 30th, 2011, 1:42 am