-
Notifications
You must be signed in to change notification settings - Fork 184
Fixing regex bypass issue #4336
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
Conversation
Signed-off-by: zane-neo <[email protected]>
263357d to
922075c
Compare
Signed-off-by: zane-neo <[email protected]>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4336 +/- ##
============================================
- Coverage 80.13% 80.13% -0.01%
- Complexity 10171 10175 +4
============================================
Files 854 855 +1
Lines 44219 44239 +20
Branches 5113 5113
============================================
+ Hits 35437 35449 +12
- Misses 6631 6641 +10
+ Partials 2151 2149 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| Duration connectionTimeout, | ||
| Duration readTimeout, | ||
| int maxConnections, | ||
| AtomicBoolean connectorPrivateIpEnabled |
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.
can we use bool here? what's the reason to use atomicBoolean
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.
Agree that boolean is better, I tried to change all the occurrence of this connectorPrivateIpEnabled to boolean all the way back to where it's defined, but there's more UTs need to be changed. But changing to boolean is correct direction, let me try again this change.
Signed-off-by: zane-neo <[email protected]>
7e45e1a to
56fe122
Compare
common/src/main/java/org/opensearch/ml/common/httpclient/MLValidatableAsyncHttpClient.java
Show resolved
Hide resolved
* Fixing regex bypass issue Signed-off-by: zane-neo <[email protected]> * fix failure ITs Signed-off-by: zane-neo <[email protected]> * Change connector private ip enabled to boolean type Signed-off-by: zane-neo <[email protected]> * fix dependency version conflict issue Signed-off-by: zane-neo <[email protected]> --------- Signed-off-by: zane-neo <[email protected]> (cherry picked from commit c4ec014)
* Fixing regex bypass issue * fix failure ITs * Change connector private ip enabled to boolean type * fix dependency version conflict issue --------- (cherry picked from commit c4ec014) Signed-off-by: zane-neo <[email protected]> Co-authored-by: zane-neo <[email protected]>
Description
Fix connector regex bypass issue
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
--signoff.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.