[Phpmyadmin-devel] htmlspecialchars for gettext output?
michal at cihar.com
Fri Aug 5 10:28:35 CEST 2011
Dne Fri, 05 Aug 2011 09:57:21 +0200
Herman van Rink <rink at initfour.nl> napsal(a):
> I feel that http://wiki.phpmyadmin.net/pma/Gettext_for_developers should
> mention something about whether it is useful/needed to run the output of
> __('Default') through htmlspecialchars.
> To the best of my knowledge this is not needed, and just adds overhead.
> But a quick grep in the code pointed me to 23 lines doing this.
> Please correct me if I'm wrong here...Michal?
You're right, it should not be needed. I will fix that.
Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Developers