diff --git a/drivers/trainbit/util.go b/drivers/trainbit/util.go index 3f70e526a5c..91f7fb8f2fe 100644 --- a/drivers/trainbit/util.go +++ b/drivers/trainbit/util.go @@ -1,6 +1,7 @@ package trainbit import ( + "html" "io" "net/http" "net/url" @@ -95,6 +96,7 @@ func local2provider(filename string, isFolder bool) string { } func provider2local(filename string) string { + filename = html.UnescapeString(filename) index := strings.LastIndex(filename, ".delete_suffix") if index != -1 { filename = filename[:index]