khamitkarkiran / owasp-esapi-java

Automatically exported from code.google.com/p/owasp-esapi-java
Other
0 stars 0 forks source link

HttpParamtervalue for allowing Xml Data #334

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi All,

I'm trying to modify the <b>validator.httpParamterValue</b> which is having the 
value as 
Validator.HTTPParameterValue=^[\\p{L}\\p{N}.\\-/+=_ !$*?@:%]{0,1000}$.

I'm, unable to parse the xml input :
<dataXML><CreateUpdateClient 
version='1.0'><commonInput></commonInput><client><clientId>JLTF53SR00C</clientId
><roleType>Individual</roleType><names><name 
prodAssoc=''><nameType>Individual</nameType><prefixes>ADM</prefixes><firstName><
![CDATA[dasd]]></firstName><middleName><![CDATA[asda]]></middleName><lastName><!
[CDATA[sdad]]></lastName><suffixes>SR</suffixes><unstructuredName><![CDATA[DDS]]
></unstructuredName><action>add</action></name></names></client></CreateUpdateCl
ient><CCreateUpdateClntandRelations1Rsp><messages 
rc='0'/><clients><client><clientId>JLTF53SR00C</clientId><nameID>00010</nameID><
/client></clients></CCreateUpdateClntandRelations1Rsp></dataXML>.

Please provide me a regex which would pass the entire input xml for 
HttpParamter value.

Original issue reported on code.google.com by bhuvanes...@gmail.com on 14 Jul 2014 at 6:54