-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Right now liqe supports regexes, which makes it dangerous to run on untrusted user's data.
Is there a possibility to utilize something like this for regex execution? https://github.com/fastify/safe-regex2?tab=readme-ov-file or https://www.npmjs.com/package/re2
I see two options how to deal with it without introducing a huge dependency:
- add option disableRegex in test/filter
- add ability to provide custom regex engine (re2) in test/filter
Please tell if something out of these is okay for you and I'll provide a PR
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels