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

'print' helper function #46

Open
JohnMertz opened this issue Jun 10, 2024 · 0 comments
Open

'print' helper function #46

JohnMertz opened this issue Jun 10, 2024 · 0 comments
Milestone

Comments

@JohnMertz
Copy link
Collaborator

As discovered with recent vulnerability fixes in the current release, it can be clumsy to simply 'print' everything to the WebUI in-line. This requires that variables are properly sanitized every time a new output line is added, which can be very easy to make mistakes with. The best solution is probably to replace every 'print' function with a 'clean_print' helper function and replace all applicable instances of 'print' to use that instead. Then, we will be guaranteed that new output using that helper function should not be vulnerable.

This is a lot of work and is best not to get in the way of creating stable-ish the Beta images.

@JohnMertz JohnMertz added this to the Future milestone Jun 10, 2024
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