|
|
|
|
|
by hinkley
336 days ago
|
|
To avoid doxxing myself: In a deep call stack it’s possible to end up sanitizing inputs multiple times and in different ways. A frequent example I’ve encountered is web frameworks that have to keep checking for escaped text because they didn’t write it in horizontal layers where you know for sure that all inputs have been scrubbed when they reach this function but not that one. So the same functions get called with data that comes from your team and from customers. Reuse is tricky. |
|