Tomcat enable special character in request

To allow pass parameter as json request enable allow characters “{}” in tomcat configuration file catalina.properties 
 
# Allow for changes to HTTP request validation
# WARNING: Using this option will expose the server to CVE-2016-6816
#tomcat.util.http.parser.HttpParser.requestTargetAllow=|
#
tomcat.util.http.parser.HttpParser.requestTargetAllow={}

Leave a Reply

Your email address will not be published. Required fields are marked *