Tomcat URL does not support%2F 400 error __tomcat

Source: Internet
Author: User

Click the button when performing a query operation when you install SOLR locally it's not responding. View Console Discovery URL Link report 400 error looking for half day discovery URL contains%2f%2f replaced with/after the browser address bar entered a successful visit, found that Tomcat default does not support URL parameters include "%2f", "% 5C ",

Workaround:

Add the following at the end of the Tomcat8/conf/catalina.properties file

Org.apache.tomcat.util.buf.udecoder.allow_encoded_slash=true

Restart Tomcat to successfully resolve the issue

A personal record of the solution not to spray

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.