mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Fix issue #436
httpHomeUri.Uri.AbsoluteUri; returns the encoded Uri including the query portion of it without double encoding the file name. This will return properly encode non-ascii paths as described in #371.
This commit is contained in:
parent
e9e5b14e75
commit
519be3437e
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ public string GetUriPath(string filename, string subFolderPath = null)
|
|||
}
|
||||
|
||||
httpHomeUri.Scheme = BrowserProtocol.GetDescription();
|
||||
return httpHomeUri.Uri.ToString();
|
||||
return httpHomeUri.Uri.AbsoluteUri;
|
||||
}
|
||||
|
||||
public string GetFtpPath(string filemame)
|
||||
|
|
Loading…
Reference in a new issue