RandomSec/server
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
..
IDEs Cleanup most Eclipse config files 2018-09-18 14:51:27 +01:00
lib-local/native/windows Migrate local dependencies to Maven Central. Closes #2365. 2020-03-07 21:35:31 +00:00
src Validate Host header of incoming HTTP requests (#3212) 2021-03-22 12:53:39 +01:00
pom.xml build(deps): bump butterfly from 1.0.4 to 1.1.1 (#3699) 2021-03-18 10:12:57 +01:00