エンジニア男

勉強したことの忘備録としてつらつら書いていきます。

2020-12-01から1ヶ月間の記事一覧

apache tomcatで特殊文字を含むURLをgetすると400エラーが起きる時がある。

※参考にさせて頂いたサイト https://qiita.com/neeton_iwasaki/items/c2b7e9eaa04e12d75108 tomcat は以下の特殊文字をURIに含むことを許可していないようです。 " < > [ \ ] ^ ` { | } https://tomcat.apache.org/tomcat-7.0-doc/config/http.html ↓の箇所…

spring securityでRequestRejectedExceptionが発生した場合

※参考にさせて頂いたサイト https://docs.spring.io/spring-security/site/docs/5.0.0.RELEASE/reference/htmlsingle/#request-matching https://www.ietf.org/rfc/rfc2396.txt https://sun0range.com/information-technology/request-rejected-exception Sp…