Skip to content
Snippets Groups Projects
Unverified Commit 327694d4 authored by smitten's avatar smitten
Browse files

Use base64url digest

parent e9428a5a
No related branches found
No related tags found
No related merge requests found
......@@ -472,7 +472,7 @@ export class ImportNotesProcessorService {
const slashdex = file.url.lastIndexOf('/');
const filename = file.url.substring(slashdex + 1);
const hash = crypto.createHash('md5');
const urlHash = hash.update(file.url).digest('hex');
const urlHash = hash.update(file.url).digest('base64url');
const name = `${urlHash}-${filename}`;
const [filePath, cleanup] = await createTemp();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment