Skip to content

Check that the decoded field value string is actually ISOLatin1 - #126

Merged
Lukasa merged 1 commit into
apple:mainfrom
guoye-zhang:decode-isolatin1
Jun 3, 2026
Merged

Check that the decoded field value string is actually ISOLatin1#126
Lukasa merged 1 commit into
apple:mainfrom
guoye-zhang:decode-isolatin1

Conversation

@guoye-zhang

Copy link
Copy Markdown
Contributor

The decoder assumes that the string is within the ISOLatin1 range without checking, potentially allowing invalid values to be saved in an HTTPField

rdar://178437865

@guoye-zhang
guoye-zhang requested review from Lukasa and ekinnear June 3, 2026 17:43
@guoye-zhang guoye-zhang added the 🔨 semver/patch No public API change. label Jun 3, 2026
@Lukasa
Lukasa merged commit 0fd14cc into apple:main Jun 3, 2026
57 checks passed
@guoye-zhang
guoye-zhang deleted the decode-isolatin1 branch June 3, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants