Skip to content

Conversation

@elnormous
Copy link
Owner

Fix three critical bugs in HTTPRequest.hpp for IPv6 URI parsing, Transfer-Encoding header handling, and chunk size parsing.

  • parseUri now correctly handles IPv6 bracketed hosts and optional ports (e.g., [::1]:80).
  • Transfer-Encoding header parsing is now case-insensitive and correctly tokenizes comma-separated values, accepting "chunked" and rejecting unsupported encodings.
  • Chunk size parsing now correctly ignores chunk extensions after a semicolon, as specified by RFC 7230.

Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Sep 1, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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.

3 participants