forked from puma/puma
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve parsing of HTTP_HOST header (puma#2605)
* Improve parsing of HTTP_HOST header IPV6 Host was not properly parsed. puma#2584 * Extracted Regex to constant * Incorporate feedback IPV6 are bracketed but contain colons so I needed to adapt the logic to separate host/port. Co-authored-by: pascal betz <pascal.betz@swisscom.com>
- Loading branch information
1 parent
034dc3a
commit a225cb5
Showing
2 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters