Sentinel icon indicating copy to clipboard operation
Sentinel copied to clipboard

修复使用FileRefreshableDataSource作为规则数据源时,初始化空规则文件会导致StringIndexOutOfBoun…

Open genjigjj opened this issue 1 month ago • 1 comments

…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

genjigjj avatar Nov 13 '25 08:11 genjigjj

Please switch the base branch to 1.8

LearningGp avatar Nov 25 '25 08:11 LearningGp

1.8与master之间有较大的差异,当前的主分支是1.8,建议基于1.8修复该问题后提交新的PR,这个PR我就暂时关闭了

LearningGp avatar Dec 16 '25 06:12 LearningGp