<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>b1a9id</author_name>
  <author_url>https://blog.hatena.ne.jp/b1a9id/</author_url>
  <blog_title>BullよりElk</blog_title>
  <blog_url>https://b1a9idps.com/</blog_url>
  <categories>
  </categories>
  <description>Spring Security 5.4(Spring Boot 2.4)から不正なURLでのリクエストに対して、任意のステータスコードを返せるようになりました。とっても嬉しい！！！ Spring SecurityのHttpFirewall 公式ドキュメント#HttpFirewall に詳しく書いてあるのですが、Spring Securityには ;や\などが含まれている不正なURLを弾いてくれるHttpFirewallインターフェースがあります（デフォルトでStrictHttpFirewallクラスが使われる）。 不正なURLだと、RequestRejectedExceptionが投げられます…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fb1a9idps.com%2Fposts%2Fspring-security-invalid-url-request&quot; title=&quot;Spring Security 5.4(Spring Boot 2.4)から不正なURLでのリクエストに任意のステータスコードを返せるようになった - BullよりElk&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-12-26 10:00:00</published>
  <title>Spring Security 5.4(Spring Boot 2.4)から不正なURLでのリクエストに任意のステータスコードを返せるようになった</title>
  <type>rich</type>
  <url>https://b1a9idps.com/posts/spring-security-invalid-url-request</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
