Skip to content

docs: add note about signing Digest header for body validation in hmac-auth#13415

Open
moying2026 wants to merge 1 commit into
apache:masterfrom
moying2026:auto/issue-13395-v3
Open

docs: add note about signing Digest header for body validation in hmac-auth#13415
moying2026 wants to merge 1 commit into
apache:masterfrom
moying2026:auto/issue-13395-v3

Conversation

@moying2026
Copy link
Copy Markdown

Fix #13395

Add a note clarifying that when validate_request_body is enabled, the Digest header must be included in the signed headers list to ensure body integrity is bound to the HMAC signature. The existing example already demonstrates this by adding digest to the headers parameter; this PR just adds an explanatory note.

Changes:

  • docs/en/latest/plugins/hmac-auth.md: Insert note before the body-validation code block.

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. doc Documentation things labels May 21, 2026
@moying2026
Copy link
Copy Markdown
Author

请问有空 review 吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Documentation things size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: hmac-auth body validation example should sign the Digest header

1 participant