some small cleanups

This commit is contained in:
the-djmaze 2026-11-03 00:59:09 +01:00
parent c4f2033368
commit bf90b32b51
4 changed files with 13 additions and 4 deletions

View file

@ -502,6 +502,7 @@ export class FolderModel extends AbstractModel {
*/
get fullNameHash() {
return this.fullName.replace(/[^a-z0-9._-]+/giu, b64EncodeJSONSafe);
// return this.fullName.replace(/\/+/g, b64EncodeJSONSafe);
// return /^[a-z0-9._-]+$/iu.test(this.fullName) ? this.fullName : b64EncodeJSONSafe(this.fullName);
}