Skip to content

Lucky/Crystal needs object taint/trust #1355

Discussion options

You must be logged in to vote

Hi @BrucePerens here is a Discord message I posted https://discord.com/channels/743896265057632256/743896265057632259/788097639987413012

Lucky does sanitize automatically when outputting but not on save. This is how many ORMs and frameworks work and it is nice because sometimes you want to have different sanitization rules for different outputs. Maybe some inputs do allow HTML (an admin interface) for example. The other reason we sanitize on output is that doing it on save is less secure in many ways. For example, let's say that you sanitize input on save but turns out there is a security issue in the sanitization code. You can't just update the library. You also would need to go through…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@paulcsmith
Comment options

Answer selected by paulcsmith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants