title: How to Allow ^ character in URLs for tomcat 8.5
body: <p>I have a request URL of below format</p>
  
  <pre><code>http://hostname:port/path&amp;param1={"vars":[{"a":"val1","b":"^"},{"c":"val2","d":"^"}]}&amp;param2=Value3|95|3%20-%206%20Months
  </code></pre>
  
  <p>I changed catalina.properties as per this
  <a href="https://stackoverflow.com/questions/36220740/why-is-this-url-returning-error-400-from-tomcat?utm_medium=organic&amp;utm_source=google_rich_qa&amp;utm_campaign=google_rich_qa">stackoverflow question</a> .</p>
  
  <p>But as per <a href="https://tomcat.apache.org/tomcat-8.5-doc/config/systemprops.html" rel="noreferrer">tomcat documentation</a> <strong>tomcat.util.http.parser.HttpParser.requestTargetAllow</strong> property is deprecated and <strong>relaxedPathChars</strong> and <strong>relaxedQueryChars</strong> attributes are to be used with Connector tag instead.</p>
  
  <p>However, when i change the xml file to below</p>
  
  <pre><code> &lt;Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" relaxedQueryChars="^" relaxedPathChars="^"/&gt;
  </code></pre>
  
  <p>I still get a 400 bad request for the character <strong>^</strong></p>
  
  <p>I am not sure if this is the correct configuration.</p>