lua-path icon indicating copy to clipboard operation
lua-path copied to clipboard

secure_filename

Open italomaia opened this issue 6 years ago • 0 comments

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

italomaia avatar Mar 04 '19 22:03 italomaia