[Phpmyadmin-devel] htmlspecialchars for gettext output?

Michal Čihař 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...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110805/0c69fd64/attachment.sig>

More information about the Developers mailing list