Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Spring-security-7.1.xsd schema validates request-matcher incorrectly

オープン 初心者向け
#19,981 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@suryakant-source がすでに取り組んでいます。

2026年10月23日 から。

  • #19982 @suryakant-source による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
66/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java, spring
領域
security

調査の方向性

issueでは spring-security-7.1.xsd と spring-security-7.2.xsd が挙げられ、#18641 の以前の修正と MatcherType の値が示されています。その修正を読み、スキーマファイルを比較してください。mvc、ant、regex、ciRegex ではなく、path、regex、ciRegex を受け入れることを確認してください。両方のスキーマが意図された matcher の値を検証できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

status: waiting-for-triage type: bug

The bug descibed in #18641 was only fixed for Spring-security-7.0.xsd schema file but not in spring-security-7.1.xsd and spring-security-7.2.xsd because they were branched before.

"As of Spring Security 7 the AntPathRequestMatcher and the MvcRequestMatcher have been consolidated into the PathPatternRequestMatcher.
Therefore, all occurrences of request-matcher="ant" or request-matcher="mvc" should be replaced by request-matcher="path", at least if I understand the changes correctly.

However, the spring-security.xsd does not reflect the changes to the MatcherType correctly.
It still validates against the previous value set of mvc, ant, regex and ciRegex
It should instead validate agains the set path, regex and ciRegex"

主要言語
Java
スター
9.7k
フォーク
6.4k
平均マージ
1日 22時間
マージ済み PR(30日)
49

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

spring-projects/spring-security のほかの issue

spring-projects/spring-security の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。