Open
Conversation
ReDoS脆弱性検出を含む正規表現の構文検証を行うPatternValidatorクラスを追加
- HTTPステータスコードの検証を追加 - JSONレスポンスがnullの場合のエラーハンドリングを追加
不正な正規表現パターンでPatternSyntaxExceptionが発生した場合に ログを出力してスキップするよう変更
不正な正規表現パターンでエラーが発生した場合に ログを出力して処理を継続するよう変更
空白のみの名前が設定されることを防止
- アップロードファイルのサイズ制限 (1MB) を追加 - JSON形式の検証を追加 - 空白のみの単語/読みを拒否 - 正規表現パターンのバリデーションを追加 - エラーメッセージの改善
- エントリ数の上限 (1000件) を追加 - エントリの文字数制限 (1000文字) を追加 - 空白のみのエントリをスキップ - 正規表現パターンのバリデーションを追加 - JSONファイル形式の検証を強化
ignore regex 設定時に正規表現の構文を検証
- 空リスト時のエラーメッセージを追加 - コードブロック表示を改善
PatternValidatorとDictionaryManagerのバリデーションロジックをカバー
Contributor
Author
|
辞書とかの制限値は要審議 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
./gradlew :core:testが成功することを確認