Re: Html output escaping html elements
Posted by:
Rick James
Date: October 30, 2009 11:53PM
A Windows version gives a bad answer:
C:>mysql -H -e "select '<';" -u root -pm-sql
<TABLE BORDER=1><TR><TH><</TH></TR><TR><TD><</TD></TR></TABLE>
The < is needed to avoid problems.
What would this give you on your various machines?
mysql -H -e "select '</TD></TR></TABLE>';"
And try putting the output of that into a web page!
Or this
mysql -H -e "select '<!-- ';"
Subject
Views
Written By
Posted
6134
October 27, 2009 09:18AM
Re: Html output escaping html elements
2648
October 30, 2009 11:53PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.