You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] [v0.0.7] matches_pattern() silently ignores patterns with multiple wildcards in HookDispatcher #192
The matches_pattern() function in cortex-plugins/src/hooks/dispatcher.rs silently fails to match any tools when the pattern contains multiple wildcards.
Location
File: cortex-plugins/src/hooks/dispatcher.rs
Function: matches_pattern() at line 123
Bug Analysis
The function splits the pattern by * and only handles the case where there are exactly 2 parts:
Activity