bruce121 opened a new issue, #6304: URL: https://github.com/apache/shenyu/issues/6304
### Is there an existing issue for this? - [x] I have searched the existing issues ### Current Behavior 当前行为:KeyAuth 页面会查到 Divide 的 rule。 #6291 这一次的提交中,Copilot AI review的内容中有段描述可能与当前问题有关: ``` searchByPage now unconditionally overwrites condition.selectors with all selector IDs from the namespace. This breaks callers that intentionally pass a specific selector filter (e.g. RuleController#queryRules sets selectors from the selectorId query param), because the selectorId constraint is lost and results broaden unexpectedly. Consider only populating selectors from namespace when condition.getSelectors() is null/empty (or otherwise merge rather than replace). ``` ### Expected Behavior 期望行为:当 `RuleController#queryRules` 时指定了 selectorId,则使用指定的selectorId进行查询。 ### Steps To Reproduce _No response_ ### Environment ```markdown ShenYu version(s): CommitId: [c39506e97] ``` ### Debug logs _No response_ ### Anything else? _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
