-
Notifications
You must be signed in to change notification settings - Fork 7
AMP-31197 AMP Security Review Triage #4508
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
Open
brianbrix
wants to merge
16
commits into
develop
Choose a base branch
from
fix/AMP-31197/AMP-Security-Review-Triage
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
d5116eb
AMP-31197 :
brianbrix 5193561
AMP-31197 :
brianbrix 53983de
AMP-31197 :
brianbrix ee3fff1
AMP-31197 :
brianbrix 68f7080
AMP-31197 :
brianbrix 26c9abe
AMP-31197 : AMP-SEC-025 / 026 / 061 / 062: JAXB and Commons Digester …
brianbrix 2bf0778
AMP-31197 : Add cameroon to workflow countries
brianbrix bddd173
AMP-31197: add missing XmlSecurityUtils.java (fixes CI compile failur…
brianbrix 249beae
AMP-31197 : Add mvn retry to try navigate 429 mvn error
brianbrix e0e0ab0
AMP-31197 : Remove startup failing session policy
brianbrix 67c881f
AMP-31197: fix startup crash - allow DOCTYPE/general entities for tru…
brianbrix cb698af
AMP-31197: fix XXE hardening regression in SiteConfigParser
brianbrix 5a5fdbb
AMP-31197 : Change Password Encoder for API created users
brianbrix 8a3390b
AMP-31197 : Unify password encoder for all endpoints requiring auth
brianbrix db07097
AMP-31197 : Login fails
brianbrix ee03261
AMP-31197 : Firsttime login fails
brianbrix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,6 +17,7 @@ on: | |
| options: | ||
| - bfaso | ||
| - boad | ||
| - cameroontrubudget | ||
| - chad | ||
| - civ | ||
| - drc | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
166 changes: 89 additions & 77 deletions
166
amp/TEMPLATE/ampTemplate/js_2/jdigestauth/digest-auth.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| #!/bin/sh | ||
| # Run Maven with retries to handle transient repository/network failures. | ||
|
|
||
| set -eu | ||
|
|
||
| if [ "$#" -eq 0 ]; then | ||
| echo "Usage: mvn-with-retry.sh <maven-args>" >&2 | ||
| exit 1 | ||
| fi | ||
|
|
||
| attempt=1 | ||
| max_attempts="${MAVEN_MAX_ATTEMPTS:-4}" | ||
| base_delay_seconds="${MAVEN_RETRY_DELAY_SECONDS:-15}" | ||
|
|
||
| while [ "$attempt" -le "$max_attempts" ]; do | ||
| echo "Running Maven attempt ${attempt}/${max_attempts}: mvn $*" | ||
| if mvn "$@"; then | ||
| exit 0 | ||
| fi | ||
|
|
||
| if [ "$attempt" -eq "$max_attempts" ]; then | ||
| break | ||
| fi | ||
|
|
||
| delay_seconds=$((base_delay_seconds * attempt)) | ||
| echo "Maven command failed, retrying in ${delay_seconds}s..." | ||
| sleep "$delay_seconds" | ||
| attempt=$((attempt + 1)) | ||
| done | ||
|
|
||
| echo "ERROR: Maven command failed after ${max_attempts} attempts" >&2 | ||
| exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.