Skip to content

Unexpected behavior of path matching for configuration-based security policies #5318

@jmartisk

Description

@jmartisk

If I have a permission for a path like
quarkus.http.auth.permission.mypermission.paths=/a/*
Then requests to /a/anything should be matched to it, but they are not.

If I change it to
quarkus.http.auth.permission.mypermission.paths=/a*
Only then requests to /a/anything will start getting authorization checks.

This is contradictory to what is described in the documentation https://quarkus.io/guides/security#matching-on-paths-methods

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions