by 323 · 4y ago · 0 comments
You prove that a string originating from the user was HTML escaped - by calling the HTMLEscape function which attaches the proof - and then later in the code whenever you output it in the template it won't be escaped anymore because it's proven to be escaped.
I don't understand why I find this stuff fascinating.
https://en.wikipedia.org/wiki/Curry%E2%80%93Howard_correspon...
[1] https://softwareengineeringdaily.com/2018/11/09/tla-with-les... [2] https://www.youtube.com/watch?v=oyLBGkS5ICk Edit: links