forms - Format of ESAPI encode in an output with DecimalFormat -


i'm working through several forms outputs user , i've applied #esapiencoder.encodeforhtml()# without issue far i'm thrown whether correct way of typing out encode when decimalformat part of it.

#esapiencoder.encodeforhtml(decimalformat(hrstotalleave))# 

would correct method? or it:

#decimalfomat(esapiencoder.encodeforhtml(hrstotalleave))# 

this page using coldfusion if helps @ all.

i believe want encode values @ outermost level, #esapiencoder.encodeforhtml(decimalformat(hrstotalleave))# way go.

using second example , attempting use format functions on encoded strings potentially lead issues well.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -