+5
-0
lines changedFilter options
+5
-0
lines changed Original file line number Diff line number Diff line change
@@ -713,6 +713,11 @@ func cleanDBName(dbname string) string {
713
713
dbname = strings.ReplaceAll(dbname, string(os.PathSeparator), "_")
714
714
}
715
715
716
+
// Always remove slashes to avoid issues with filenames on windows
717
+
if strings.ContainsRune(dbname, '/') {
718
+
dbname = strings.ReplaceAll(dbname, "/", "_")
719
+
}
720
+
716
721
return dbname
717
722
}
718
723
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4