Merge branch 'master' of github.com:ShareX/ShareX

This commit is contained in:
Jaex 2015-01-15 08:17:39 +02:00
commit 3a682415f1

View file

@ -176,6 +176,7 @@ public string GetUriPath(string filename, string subFolderPath = null)
}
UriBuilder httpHomeUri;
var httpHomePath = GetHttpHomePath();
if (string.IsNullOrEmpty(httpHomePath))
@ -230,7 +231,7 @@ public string GetUriPath(string filename, string subFolderPath = null)
}
httpHomeUri.Scheme = BrowserProtocol.GetDescription();
return Uri.EscapeUriString(httpHomeUri.Uri.ToString());
return httpHomeUri.Uri.AbsoluteUri;
}
public string GetFtpPath(string filemame)