Can the maximum string length for process parameters be increased?

bajwaya

22-11-2019

When we invoke our AEM processes via REST endpoints - i.e. processes created in Adobe Workbench, we are getting an error if the string exceeds 2000 characters:

Invalid input. The maximum length of 2000 characters was exceeded.
at org.owasp.esapi.reference.validation.StringValidationRule.checkLength(StringValidationRule.java:214) [esapi-2.1.0.1.jar:2.1.0.1]​

at org.owasp.esapi.reference.validation.StringValidationRule.checkLength(StringValidationRule.java:229) [esapi-2.1.0.1.jar:2.1.0.1]​

at org.owasp.esapi.reference.validation.StringValidationRule.getValid(StringValidationRule.java:281) [esapi-2.1.0.1.jar:2.1.0.1]​

at org.owasp.esapi.reference.DefaultValidator.getValidInput(DefaultValidator.java:214) [esapi-2.1.0.1.jar:2.1.0.1]​

at com.adobe.util.XSSValidatorHelper.validateXSSInput(XSSValidatorHelper.java:29) [adobe-utilities.jar:6.3.0.20190826.1.337248]​

at com.adobe.idp.dsc.provider.impl.rest.RestServlet.getSafeParameterMap(RestServlet.java:1358) [adobe-rest-provider.jar:6.3.0.20190826.1.337248]​

at com.adobe.idp.dsc.provider.impl.rest.RestServlet.handleInputParams(RestServlet.java:577) [adobe-rest-provider.jar:6.3.0.20190826.1.337248]​

at com.adobe.idp.dsc.provider.impl.rest.RestServlet.doPost(RestServlet.java:284) [adobe-rest-provider.jar:6.3.0.20190826.1.337248]​

Is there a way to increase the maximum allowed length?

View Entire Topic

WASIL

Employee

25-11-2019

Then check following :

Thanks

Wasil