mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-04 22:21:23 +12:00
Merge branch 'master' of github.com:ShareX/ShareX
This commit is contained in:
commit
3a682415f1
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue