Re:Mixing Vue.js templates with server-side templates can le...
by krapp on Monday February 26, 2018 @06:51AM
(#16464662)
> the problem is that htmlspecialchars() doesn't know to escape {{ }}, and that that then allows user input to get interpreted as Vue template expressions
Arguably, that's not a problem, because '{' and '}' aren't HTML special characters, so the function is working exactly as intended.
Arguably, that's not a problem, because '{' and '}' aren't HTML special characters, so the function is working exactly as intended.