Windows sometimes strips protocol when url is passed to handler
Conflicts: SparkleShare/Windows/SparkleShareInviteOpener/sparkleshare-invite-opener.cs
This commit is contained in:
parent
42b792b503
commit
425cffb74b
|
@ -36,8 +36,9 @@ namespace SparkleShare {
|
||||||
{
|
{
|
||||||
string xml = "";
|
string xml = "";
|
||||||
|
|
||||||
url = url.Replace ("sparkleshare-unsafe:", "http:");
|
// Windows sometimes doesn't strip off protocol handlers
|
||||||
url = url.Replace ("sparkleshare:", "https:");
|
url = url.Replace ("sparkleshare-unsafe:", "");
|
||||||
|
url = url.Replace ("sparkleshare:", "");
|
||||||
|
|
||||||
WebClient web_client = new WebClient ();
|
WebClient web_client = new WebClient ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue