Repository navigation
Use project-specific fallback filenames for CycloneDX exports - #2159
Open
sarunasdjacenko wants to merge 1 commit into
Open
sarunasdjacenko wants to merge 1 commit into
sarunasdjacenko wants to merge 1 commit into
Conversation
sarunasdjacenko
force-pushed
the
fix-project-export-fallback-filenames
branch
2 times, most recently
from
November 25, 2026 10:46
0d8e251 to
87e13ca
Compare
Match the API's UUID, export variant and format naming scheme when Content-Disposition is missing or inaccessible under CORS. Preserve server-provided filenames when the header is readable. Signed-off-by: Sarunas Djacenko <[email protected]>
sarunasdjacenko
force-pushed
the
fix-project-export-fallback-filenames
branch
from
November 25, 2026 10:49
87e13ca to
b15a168
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Match the API's UUID, export variant and format naming scheme when Content-Disposition is missing or inaccessible under CORS.
Preserve server-provided filenames when the header is readable.
Description
Use
<project-uuid>-<variant>.cdx.<format>as the fallback filename for project CycloneDX exports.Previously, Inventory, Inventory with Vulnerabilities and VDR exports shared the fallback filename
bom.jsonorbom.xml, making downloaded files difficult to distinguish. VEX usedvex.json.The new fallback matches the API's filename convention and distinguishes both projects and export types.
Addressed Issue
Closes #2158
Additional Details
This is a one-line change to the project export modal. Readable server-provided filenames continue to take precedence.
No changes to export contents, API behaviour, CORS configuration or the shared download helper are included.
Checklist