-
Notifications
You must be signed in to change notification settings - Fork 521
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
fix(auth): enhance the URL check #2422
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2422 +/- ##
============================================
+ Coverage 66.26% 66.31% +0.04%
Complexity 827 827
============================================
Files 511 511
Lines 42623 42624 +1
Branches 5947 5947
============================================
+ Hits 28245 28264 +19
+ Misses 11563 11553 -10
+ Partials 2815 2807 -8 ☔ View full report in Codecov by Sentry. |
for (String whiteApi : WHITE_API_LIST) { | ||
if (path.endsWith(whiteApi)) { | ||
if (MATCHER.match(whiteApi, path)) { |
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.
TODO: add some tests for it
seems this pr will also solve #2176 |
@@ -51,11 +51,12 @@ For example: | |||
|
|||
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> | |||
|
|||
- [ ] Nope | |||
- [ ] Dependencies (add/update license info) <!-- Don't forget to add/update the info in "LICENSE" & "NOTICE" files (both in root & dist module) --> | |||
- [ ] Dependencies ([add/update license](https://hugegraph.apache.org/docs/contribution-guidelines/contribute/#321-check-licenses) info & [regenerate_dependencies](../hugegraph-server/hugegraph-dist/scripts/dependency/regenerate_known_dependencies.sh)) <!-- Don't forget to add/update the info in "LICENSE" & "NOTICE" files (both in root & dist module) --> |
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.
@simon824 update here
Co-authored-by: imbajin <[email protected]>
No description provided.