eventlog controller: Get history of UTF-8 file path. Fixes #1532
This commit is contained in:
parent
51b658dc33
commit
0ee6622895
|
@ -257,6 +257,9 @@ namespace SparkleShare {
|
|||
string folder = url.Replace ("history://", "").Split ("/".ToCharArray ()) [0];
|
||||
string file_path = url.Replace ("history://" + folder + "/", "");
|
||||
|
||||
byte [] file_path_bytes = Encoding.Default.GetBytes (file_path);
|
||||
file_path = Encoding.UTF8.GetString (file_path_bytes);
|
||||
|
||||
file_path = Uri.UnescapeDataString (file_path);
|
||||
|
||||
foreach (SparkleRepoBase repo in Program.Controller.Repositories) {
|
||||
|
|
Loading…
Reference in a new issue