Skip to content

Conversation

@quinnj
Copy link
Member

@quinnj quinnj commented Jun 14, 2025

Summary

  • reject CR and LF characters when constructing or parsing URIs
  • raise ParseError for CRLF characters found while parsing
  • ensure constructors validate for CRLF characters
  • add regression tests for CRLF injection attempts

Testing

  • julia --project=. -e 'using Pkg; Pkg.test()' (fails: download test mismatch)

https://chatgpt.com/codex/tasks/task_b_684d8e8db768833188c7a2d89283728e

@quinnj quinnj merged commit f8c8734 into master Jun 18, 2025
9 of 10 checks passed
@quinnj quinnj deleted the codex/add-uri-validation-for-crlf-injection branch June 18, 2025 16:55
DilumAluthge added a commit to JuliaWeb/HTTP.jl that referenced this pull request Jun 19, 2025
quinnj pushed a commit to JuliaWeb/HTTP.jl that referenced this pull request Jun 19, 2025
* Require URIs.jl >= 1.6 (so that we have JuliaWeb/URIs.jl#66)

* Bump version from 1.10.16 to 1.10.17
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.

2 participants