Skip to content

fix: escape challenge header values#6

Open
emmajam wants to merge 1 commit into
stripe:mainfrom
emmajam:ejh/fix-header-escaping
Open

fix: escape challenge header values#6
emmajam wants to merge 1 commit into
stripe:mainfrom
emmajam:ejh/fix-header-escaping

Conversation

@emmajam
Copy link
Copy Markdown

@emmajam emmajam commented Jun 2, 2026

Summary

  • Escape backslashes and quotes in formatted WWW-Authenticate challenge values.
  • Reject CR/LF in quoted header values to prevent unsafe header emission.
  • Add regression coverage for quoted descriptions, backslash descriptions, and CRLF rejection.

This is the Java-side fix for the M7 conformance failures in tempoxyz/mpp-tools#16.

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