eatQuot
From Documentation
Revision as of 09:43, 11 September 2013 by Tmillsclare (talk | contribs)
java.lang.String eatQuot(java.lang.String)
Eliminates single and double quotations to avoid JavaScript injection. It eliminates all quotations. In other words, the specified string shall NOT contain any quotations. It is used to avoid JavaScript injection. For exmple, in DSP or JSP pages, the following codes is better to escape with this method.
<input value="${c:eatQuot(param.some)}"/>
Version History
Version | Date | Content |
---|---|---|