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

secure_filename #14

Open
italomaia opened this issue Mar 4, 2019 · 0 comments
Open

secure_filename #14

italomaia opened this issue Mar 4, 2019 · 0 comments

Comments

@italomaia
Copy link

werkzeug has a very useful function called secure_filename that normalizes a file path to a secure name, very useful when one wants to parse a name into a filename. It would be nice to have it available in lua-path, if it makes sense.

reference:
https://github.com/pallets/werkzeug/blob/0f341ea8e5dfb00a6866cf4cbc798c126e063d84/werkzeug/utils.py#L322

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

No branches or pull requests

1 participant