This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/browser/components/screenshots/fileHelpers.mjs b/browser/components/screenshots/fileHelpers.mjs | |
| index c6321e1..c376e47 100644 | |
| --- a/browser/components/screenshots/fileHelpers.mjs | |
| +++ b/browser/components/screenshots/fileHelpers.mjs | |
| @@ -88,19 +88,25 @@ export async function getFilename(filenameTitle, browser) { | |
| // otherwise we just use a conservative length | |
| const maxFilenameLength = getMaxFilenameLength(knownDownloadsDir); | |
| /* eslint-disable no-control-regex */ | |
| + //.replace(/[\u200e\u200f\u202a-\u202e]/g, "") | |
| + //.replace(/[\x00-\x1f\x7f-\x9f:*?|"<>;,+=\[\]]+/g, " ") |