When using ampersand in the event title, the mobile template doesn’t encode it correctly, instead of showing:
&
it shows:
& a m p ;
I notice if I change the template to use:
[[=raw title]]
it works fine as it doesn’t escape any HTML. However, what would be the risks involved by using:
[[=raw title]]
instead of only:
[[=title]]?
I am aware we could have some XSS vulnerabilities using this method. However, I’m not sure if this applies to this case.
Could you please confirm it or provide a solution for the encoding issue?
Thank you!
-
This topic was modified 9 years, 12 months ago by
Daniel Maier.
-
This topic was modified 9 years, 12 months ago by
Cliff.