Merge pull request #1292 from mortenn/master

Fix for issue #1285
This commit is contained in:
Hylke Bons 2013-05-29 02:07:25 -07:00
commit b1c357cbd6

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);