Skip to content

Conversation

@genjigjj
Copy link

…dsException异常

Describe what this PR does / why we need it

在使用FileRefreshableDataSource作为规则数据源时,发现如果初始化空规则文件会导致StringIndexOutOfBoundsException异常

Does this pull request fix one issue?

Describe how you did it

判断规则文件是否有数据

Describe how to verify it

加载空的规则文件看是否有异常打印

Special notes for reviews

@LearningGp LearningGp changed the base branch from master to 1.8 November 25, 2025 08:49
@LearningGp LearningGp added the kind/bug Category issues or prs related to bug. label Nov 25, 2025
@LearningGp LearningGp changed the base branch from 1.8 to master November 25, 2025 08:50
@LearningGp
Copy link
Collaborator

Please switch the base branch to 1.8

@LearningGp LearningGp moved this to In progress in Sentinel Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Category issues or prs related to bug.

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants