Skip to content

fix: unescape RFC 6901 sequences (~1, ~0) in ignore-fields JSON pointers#229

Open
tiraboschi wants to merge 1 commit into
openshift-virtualization:mainfrom
tiraboschi:CNV-91772
Open

fix: unescape RFC 6901 sequences (~1, ~0) in ignore-fields JSON pointers#229
tiraboschi wants to merge 1 commit into
openshift-virtualization:mainfrom
tiraboschi:CNV-91772

Conversation

@tiraboschi

Copy link
Copy Markdown
Member

copyFieldByPointer split pointers by / but never unescaped ~1 -> / and ~0 -> ~, so ignore-fields annotations could not reference keys containing slashes (e.g. platform.kubevirt.io/managed-by).

Fixes: https://redhat.atlassian.net/browse/CNV-91772

@openshift-ci

openshift-ci Bot commented Jul 3, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign dominikholler for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

copyFieldByPointer split pointers by / but never unescaped ~1 -> / and
~0 -> ~, so ignore-fields annotations could not reference keys containing
slashes (e.g. platform.kubevirt.io/managed-by).

Fixes: https://redhat.atlassian.net/browse/CNV-91772

Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
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.

1 participant