Sanitization improvements #2
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
modules.utility.sanitize_user_input() need improvements before it can be relied on as a first-pass security filter.
Currently only performs basic whitelisting logic on given strings, removing potentially dangerous parts before returning the sanitized string.
This is too unreliable for production environments, especially if we implement database connectivity or need to perform dynamic calculations (eg. eval()) on user-generated content like chat commands.