RandomSec/server/src/com/google
Bálint József Jánvári 6234a61e82
Validate Host header of incoming HTTP requests (#3212)
* Validate Host header of incoming HTTP requests

* Always allow requests with loopback IP addresses and localhost

* Split off ValidateHostHandler to a separate file

* Allow IPv4-mapped loopback addresses in ValidateHostHandler

* Add error description to 404 error returned by ValidateHostHandler

* Add refine.interface parameter to override interface and host separately

* Fix some whitespace inconsistencies

* Update refine and refine.bat with separate host and interface arguments

* Add -h switch to usage message

* Use -H instead of -h for the host argument

* Bring changes in line with new Jetty version

Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-03-22 12:53:39 +01:00
..
refine Validate Host header of incoming HTTP requests (#3212) 2021-03-22 12:53:39 +01:00
util build(deps): bump butterfly from 1.0.4 to 1.1.1 (#3699) 2021-03-18 10:12:57 +01:00