fixed slash handling in file names
This commit is contained in:
@@ -75,7 +75,7 @@ export function cleanURL(url, host) {
|
||||
}
|
||||
export function cleanString(string) {
|
||||
for (let i in forbiddenCharsString) {
|
||||
string = string.replaceAll(forbiddenCharsString[i], '')
|
||||
string = string.replaceAll("/", "_").replaceAll(forbiddenCharsString[i], '')
|
||||
}
|
||||
return string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user