Skip to content

MatchContext.RegexpCaptureGroups empty with glob Match strategy behavior ? #933

Answered by gen1us2k
jeanmichelcraye asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. You're right. Oathkeeper does not support using .MatchContext.RegexpCaptureGroups using glob matching strategy.

func (ge *globMatchingEngine) FindStringSubmatch(pattern, matchAgainst string) ([]string, error) {

// FindStringSubmatch is noop for now and always returns an empty array

Consider using regexp matching strategy

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vinckr
Comment options

Answer selected by vinckr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants