Skip to content
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

Unescape encoded Ascii85 payload before decoding #296

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Nov 8, 2024

Brief testing shows that when the encoded Ascii85 payload passes through the Nagios XI (JSON) API that the backslash character is escaped. Instead of handling this client-side we extend the decoding process to automatically handle unescaping that pattern. This also provides a "hook" for further unescaping if other monitoring systems apply similar escaping of the encoded payload.

Also, fix various typos in doc comments not caught during previous polishing passes.

refs GH-251

Brief testing shows that when the encoded Ascii85 payload passes
through the Nagios XI (JSON) API that the backslash character is
escaped. Instead of handling this client-side we extend the
decoding process to automatically handle unescaping that
pattern. This also provides a "hook" for further unescaping if
other monitoring systems apply similar escaping of the encoded
payload.

Also, fix various typos in doc comments not caught during
previous polishing passes.

refs GH-251
@atc0005 atc0005 added the payload label Nov 8, 2024
@atc0005 atc0005 added this to the v0.17.1 milestone Nov 8, 2024
@atc0005 atc0005 self-assigned this Nov 8, 2024
@atc0005 atc0005 merged commit 1117971 into master Nov 8, 2024
31 checks passed
@atc0005 atc0005 deleted the i251-unescape-payload-before-decoding branch November 8, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant