Skip to content

Conversation

@tommylehmann
Copy link
Contributor

Change the used JSON node for TLP Label from /csaf/document/distribution/tlp to /csaf/document/distribution/tlp/label and lowercase the label in calculateReferenceUrl. This assures that the generated URL contains the correct label and is consistant with the document tree setup by CSAF Publisher.

The setFinalTrackingIdTest is changed accoding to the lowercase change and a new setFinalTrackingIdTest_label_not_null test is added to test the correct usage of a given label.

Change the used JSON node for TLP Label from `/csaf/document/distribution/tlp` to `/csaf/document/distribution/tlp/label` and lowercase the label in `calculateReferenceUrl`. This assures that the generated URL contains the correct label and is consistant with the document tree setup by CSAF Publisher.

The `setFinalTrackingIdTest` is changed accoding to the lowercase change and a new `setFinalTrackingIdTest_label_not_null` test is added to test the correct usage of a given label.
@rainer-exxcellent rainer-exxcellent self-requested a review April 2, 2025 14:02
@rainer-exxcellent
Copy link
Contributor

belongs to: #202

Add a missing "/".

Co-authored-by: Rainer Schneider <[email protected]>
@rainer-exxcellent rainer-exxcellent self-requested a review April 9, 2025 10:54
Copy link
Contributor

@rainer-exxcellent rainer-exxcellent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it looks good to me

@mfd2007 mfd2007 merged commit 51516d7 into secvisogram:main May 2, 2025
1 of 2 checks passed
mfd2007 pushed a commit that referenced this pull request Nov 18, 2025
mfd2007 pushed a commit that referenced this pull request Nov 18, 2025
Add a missing "/".

Co-authored-by: Rainer Schneider <[email protected]>
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.

3 participants