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

Add escape as a means of sanitization #64

Open
thombashi opened this issue Feb 22, 2025 · 0 comments
Open

Add escape as a means of sanitization #64

thombashi opened this issue Feb 22, 2025 · 0 comments

Comments

@thombashi
Copy link
Owner

The current sanitization functions replace ineligible characters for file-names/file-paths with the specified string.
Add escape (unescape) as an alternative processing option.

Add an argument like invalid_value_handler to sanitize functions, allowing the user to choose between replace (the current behavior) and escape.
Arguments like replacement_text may be passed as invalid_value_handler_args argument.

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

1 participant