Skip to content

Comments

[Backport 2.4] Fix windows encoding issues (#2206)#2218

Merged
cwperks merged 1 commit into2.4from
backport/backport-2206-to-2.4
Nov 2, 2022
Merged

[Backport 2.4] Fix windows encoding issues (#2206)#2218
cwperks merged 1 commit into2.4from
backport/backport-2206-to-2.4

Conversation

@peternied
Copy link
Member

Description

Adds spotbugs [1] to detect internalization before they are added to the codebase, also fixed several encoding bugs that impact windows users.

[1] https://spotbugs.readthedocs.io/en/stable/index.html

Closes #2194

Signed-off-by: Peter Nied petern@amazon.com
(cherry picked from commit a040b86)

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --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.

Adds spotbugs [1] to detect internalization before they are added to the codebase, also fixed several encoding bugs that impact windows users.

[1] https://spotbugs.readthedocs.io/en/stable/index.html

Closes #2194

Signed-off-by: Peter Nied <petern@amazon.com>
(cherry picked from commit a040b86)
@peternied peternied requested a review from a team November 2, 2022 17:45
@peternied peternied mentioned this pull request Nov 2, 2022
3 tasks
@codecov-commenter
Copy link

codecov-commenter commented Nov 2, 2022

Codecov Report

Merging #2218 (6ce7617) into 2.4 (920fdf0) will decrease coverage by 0.08%.
The diff coverage is 77.77%.

@@             Coverage Diff              @@
##                2.4    #2218      +/-   ##
============================================
- Coverage     61.06%   60.97%   -0.09%     
+ Complexity     3242     3236       -6     
============================================
  Files           257      257              
  Lines         18089    18089              
  Branches       3225     3225              
============================================
- Hits          11046    11030      -16     
- Misses         5474     5490      +16     
  Partials       1569     1569              
Impacted Files Coverage Δ
...dlic/auth/http/saml/AuthTokenProcessorHandler.java 47.28% <0.00%> (ø)
...a/org/opensearch/security/tools/SecurityAdmin.java 36.00% <0.00%> (ø)
...earch/security/auditlog/impl/AbstractAuditLog.java 73.75% <100.00%> (ø)
...ty/configuration/ConfigurationLoaderSecurity7.java 66.39% <100.00%> (ø)
...ensearch/security/ssl/DefaultSecurityKeyStore.java 67.63% <100.00%> (ø)
.../org/opensearch/security/support/ConfigHelper.java 86.00% <100.00%> (ø)
...t/keybyoidc/AuthenticatorUnavailableException.java 0.00% <0.00%> (-20.00%) ⬇️
.../auth/http/jwt/keybyoidc/SelfRefreshingKeySet.java 59.85% <0.00%> (-3.53%) ⬇️
...ic/auth/http/jwt/AbstractHTTPJwtAuthenticator.java 55.81% <0.00%> (-3.49%) ⬇️
...security/auditlog/sink/ExternalOpenSearchSink.java 59.25% <0.00%> (-2.47%) ⬇️
... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@cwperks cwperks merged commit b715b6a into 2.4 Nov 2, 2022
@cwperks cwperks deleted the backport/backport-2206-to-2.4 branch November 2, 2022 20:08
stephen-crawford pushed a commit to stephen-crawford/security that referenced this pull request Nov 10, 2022
…ject#2218)

Adds spotbugs [1] to detect internalization before they are added to the codebase, also fixed several encoding bugs that impact windows users.

[1] https://spotbugs.readthedocs.io/en/stable/index.html

Closes opensearch-project#2194

Signed-off-by: Peter Nied <petern@amazon.com>
(cherry picked from commit a040b86)
stephen-crawford pushed a commit to stephen-crawford/security that referenced this pull request Nov 10, 2022
…ject#2218)

Adds spotbugs [1] to detect internalization before they are added to the codebase, also fixed several encoding bugs that impact windows users.

[1] https://spotbugs.readthedocs.io/en/stable/index.html

Closes opensearch-project#2194

Signed-off-by: Peter Nied <petern@amazon.com>
(cherry picked from commit a040b86)
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
stephen-crawford pushed a commit to stephen-crawford/security that referenced this pull request Nov 10, 2022
…ject#2218)

Adds spotbugs [1] to detect internalization before they are added to the codebase, also fixed several encoding bugs that impact windows users.

[1] https://spotbugs.readthedocs.io/en/stable/index.html

Closes opensearch-project#2194

Signed-off-by: Peter Nied <petern@amazon.com>
(cherry picked from commit a040b86)
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants