Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow turning off invalid character replacement #1605

Open
1over137 opened this issue Oct 29, 2024 · 3 comments
Open

Allow turning off invalid character replacement #1605

1over137 opened this issue Oct 29, 2024 · 3 comments

Comments

@1over137
Copy link

Is your feature request related to a problem? Please describe.
SingleFile replaces some characters to be a different one. But this loses information and makes the filename hard to read.

Describe the solution you'd like
On Linux all of those characters are allowed. It would be useful to be able to limit the replacement to control characters in case they are present.

@1over137 1over137 changed the title Invalid filename characters Allow turning off invalid character replacement Oct 29, 2024
@gildas-lormeau
Copy link
Owner

Can you give me a specific example of a character replacement you don't want? The hidden option filenameReplacedCharacters might be helpful.

@1over137
Copy link
Author

I mostly want to have colons in the filename to show the datetime properly. I tried to change that but it refuses to save the file

SingleFile filename must not contain illegal characters undefined [sandbox eval code:4:21432](chrome://devtools/content/webconsole/sandbox%20eval%20code)
    Lt sandbox eval code:4
    <anonymous> sandbox eval code:4
    <anonymous> sandbox eval code:4```

There could be a firefox issue here though. Firefox wouldn't let you save a filename with colons even if you specify it, for example.

@gildas-lormeau
Copy link
Owner

I don't have a Linux machine to test as I write this, but perhaps disabling Misc. > save pages in background might help get around this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants