mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-05 20:54:31 +13:00
commit
f17ba41365
1 changed files with 2 additions and 1 deletions
|
@ -176,6 +176,7 @@ public string GetUriPath(string filename, string subFolderPath = null)
|
||||||
}
|
}
|
||||||
|
|
||||||
UriBuilder httpHomeUri;
|
UriBuilder httpHomeUri;
|
||||||
|
|
||||||
var httpHomePath = GetHttpHomePath();
|
var httpHomePath = GetHttpHomePath();
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(httpHomePath))
|
if (string.IsNullOrEmpty(httpHomePath))
|
||||||
|
@ -230,7 +231,7 @@ public string GetUriPath(string filename, string subFolderPath = null)
|
||||||
}
|
}
|
||||||
|
|
||||||
httpHomeUri.Scheme = BrowserProtocol.GetDescription();
|
httpHomeUri.Scheme = BrowserProtocol.GetDescription();
|
||||||
return Uri.EscapeUriString(httpHomeUri.Uri.ToString());
|
return httpHomeUri.Uri.AbsoluteUri;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string GetFtpPath(string filemame)
|
public string GetFtpPath(string filemame)
|
||||||
|
|
Loading…
Reference in a new issue