Fix for issue #1285

This commit is contained in:
Morten Nilsen 2013-05-29 10:38:56 +02:00
parent f82a7b9bfc
commit 90a7107152

View file

@ -66,7 +66,7 @@ namespace SparkleShare {
if (string.IsNullOrEmpty (AcceptUrl))
return true;
string post_data = "public_key=" + HttpUtility.UrlEncode (public_key);
string post_data = "public_key=" + Uri.EscapeDataString (public_key);
byte [] post_bytes = Encoding.UTF8.GetBytes (post_data);
WebRequest request = WebRequest.Create (AcceptUrl);