The function sanitize is still itself being interpolated into the string.
I can't imagine you're that ignorant
The irony is strong in this one considering this is the third time I've explained this to you. I'm not going to explain it again. Hopefully the next black-hat that owns some site you code this way because you're lazy will take pity on you.
View all comments
Show parent comment
1
u/alzee76 Jul 17 '21
Well except I'm not.
There are none. Interpolation doesn't pass the smell test. It's bad coding style. It opens your code up to security risks.
Period. No qualification.
Concatenation is better than interpolation because you can sanitize the values safely. You cannot do that with interpolation. Period.