LoginSignup
0
2

More than 5 years have passed since last update.

[] を含むURLをGETしようとするとTomcatが400を返す

Posted at

原因

https://tomcat.apache.org/tomcat-8.0-doc/changelog.html の↓これ

62273: Implement configuration options to work-around specification non-compliant user agents (including all the major browsers) that do not correctly %nn encode URI paths and query strings as required by RFC 7230 and RFC 3986. (markt)

Tomcatが「みんなちゃんとしようキャンペーン」をはじめたらしい。

対策

こちらによると、TomcatのConnectorという設定項目にrelaxedQueryCharsというパラメータをつけたりするといいらしい。
(Tomcatのことよくわかりません)

以上です。よろしくお願いいたします。

その他

最近ってURLに [ とか ] とか含まない人が多いんですかね

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2