-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support repeated wildcards in the HTTP permissions path matching patterns #37192
Support repeated wildcards in the HTTP permissions path matching patterns #37192
Conversation
@stuartwdouglas I'd be truly grateful if you could review this PR when the time is right for you. It's still your path matching algorithm, I just added bit of recursion. So it's still prefix path matching, but |
🙈 The PR is closed and the preview is expired. |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks precise to me, lets wait for Stuart @stuartwdouglas to have a quick look too
@michalvavrik Michal, I wonder if it would make sense to add an |
That sounds very reasonable. I'll do that.
@sberyozkin unit test I added to the |
34ef0d6
to
1e40a7d
Compare
This comment has been minimized.
This comment has been minimized.
Considering I just changed test in different module and docs and previously Hibernate didn't fail, I think |
docs/src/main/asciidoc/security-authorize-web-endpoints-reference.adoc
Outdated
Show resolved
Hide resolved
...-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/security/ImmutablePathMatcher.java
Outdated
Show resolved
Hide resolved
1e40a7d
to
d7296a7
Compare
d7296a7
to
bae0f03
Compare
Thank you Stuart @stuartwdouglas and Sergey @sberyozkin . |
Thanks, JVM21 failure is not related |
closes: #14047
Until now it was only possible to use wildcard at the end of the path, now you can use it anywhere. Inner wildcard matches exactly one path segment. Behavior for path patterns with ending wildcard or exact path matches didn't change at all.