-
Notifications
You must be signed in to change notification settings - Fork 60
Update Feature Branch #823
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
d9f492f
Fix scale bar position in mobile mode (#811)
ac-61 f81a75f
Updates to Animation Tool (#812)
jtroberts ec7ad00
#813 STAC UI import/export (#814)
tariqksoliman e5c0d80
Fix Expanded TimeUI Hours timezone offset
tariqksoliman 6b7faaf
Add new callback for newActiveFeature (#816)
ac-61 674a167
Highlight buttons in extended timeline view as range indicator in mob…
ac-61 d1af328
#815 Update STAC Collection metadata (#818)
tariqksoliman 55f51ec
#820 Fix DrawTool - Incrementer Value Multi-User Race Conditions (#821)
tariqksoliman 243faa4
Fix issue with local versus UTC time in expanded timeline display (#819)
ac-61 5adb976
Improve init-db logging
tariqksoliman 0753681
Merge branch 'development' of https://github.com/NASA-AMMOS/MMGIS int…
tariqksoliman 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 |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| .vscode | ||
| .DS_Store | ||
| .env | ||
| nul | ||
|
|
||
| /node_modules/ | ||
| /ssl/* | ||
|
|
||
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
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.
Check failure
Code scanning / CodeQL
Server-side request forgery Critical
Copilot Autofix
AI 4 months ago
In general, to fix SSRF vulnerabilities when user input is used to determine part of a backend HTTP request URL, you must ensure that the user input cannot cause the server to access arbitrary resources. The best way to do this is to restrict the URL path segment (
collectionin this case) to a known-safe allow-list of permitted values, or to strictly validate that it is a safe value (for example, allowing only alphanumeric names, possibly including certain symbols like "-", "_", but never slashes or dots). The validation should happen immediately after extracting the user input from the request, before you use it in the fetch.Specific steps:
collectionfromreq.params.collectionis in a pre-defined allow-list (most secure), or enforce that it matches a safe pattern (e.g., using a regexp to allow only "^[\w-]+$" — letters, digits, underscore, dash)./collections/:collection/exporthandler, after retrievingcollection.