Skip to content

Content-Link Prefix Awareness - #188

Merged
rmouritzen-splunk merged 1 commit into
ocsf:mainfrom
mikeradka:content-link-prefix-awareness
Jul 24, 2026
Merged

rmouritzen-splunk merged 1 commit into
ocsf:mainfrom
mikeradka:content-link-prefix-awareness

Conversation

@mikeradka

@mikeradka mikeradka commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

Realized by: #187 (source thread)

Summary

Makes page-body schema content links version-prefix aware when preserving selected extensions and profiles query params.

Previously, the matcher only recognized unprefixed paths like /classes/... and /objects/..., so links rendered under a version prefix such as /1.8.0/classes/... skipped query-param propagation. This normalizes the path only for matching while preserving the original href.

Validation

  • mix test --no-start
  • JS matcher sanity check for prefixed and unprefixed schema links

Before: version-prefixed schema content links did not match, so selected filter params were not appended:

image

After: the matcher normalizes the version prefix for matching and preserves extensions / profiles on the original link.

image

Note: I did not roll the version from 4.4.0. If we think that's necessary I can do so but PR #187 was so close that I debated whether really necessary. Will defer to reviewers.

@mikeradka
mikeradka force-pushed the content-link-prefix-awareness branch from 7897ee7 to af4906a Compare July 24, 2026 14:26
@mikeradka mikeradka added the enhancement New feature or request label Jul 24, 2026
@mikeradka
mikeradka marked this pull request as ready for review July 24, 2026 16:35
@rmouritzen-splunk
rmouritzen-splunk merged commit 298fdc6 into ocsf:main Jul 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants