[Phpmyadmin-devel] Revision 10397 problems with accented characters

Hi, this revision: http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin?view=rev&revision=10... breaks this query: select `nombre_posté` from personne when I want to go to Next page of results. Due to the use of hmtlentities() on the query, it becomes SELECT `nombre_posté` FROM `personne` Marc

Marc Delisle schrieb:
Hi, this revision: http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin?view=rev&revision=10...
breaks this query: select `nombre_posté` from personne
when I want to go to Next page of results.
Due to the use of hmtlentities() on the query, it becomes SELECT `nombre_posté` FROM `personne`
using htmlspecialchars() instead of htmlentities() could help -- Sebastian

Sebastian Mendel a écrit :
Marc Delisle schrieb:
Hi, this revision: http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin?view=rev&revision=10...
breaks this query: select `nombre_posté` from personne
when I want to go to Next page of results.
Due to the use of hmtlentities() on the query, it becomes SELECT `nombre_posté` FROM `personne`
using htmlspecialchars() instead of htmlentities() could help
Yes thanks, merged. I had a doubt about htmlspecialchars() for queries like select 'hi', `nombre_posté` from personne because of the single quotes but it seems to work correctly. Marc
participants (2)
-
Marc Delisle
-
Sebastian Mendel