Skip to content

Commit

Permalink
Fix regex to properly validate HTTP status line format
Browse files Browse the repository at this point in the history
Changed the regex in CreateResponse to ensure it matches only status lines starting at the beginning of the string. This prevents potential misinterpretation of malformed input and improves overall response handling accuracy.
  • Loading branch information
koriym committed Jan 4, 2025
1 parent e5e664b commit a0d5ed2
Show file tree
Hide file tree
Showing 2 changed files with 197 additions and 174 deletions.
Loading

0 comments on commit a0d5ed2

Please sign in to comment.