mirror of
https://github.com/google/nomulus.git
synced 2025-06-15 17:04:45 +02:00
We are seeing some web WHOIS HTTP(S) requests made to our endpoints without the Host header specified. This is an error according to the HTTP/1.1 spec. However we do not want to spam our logs with errors that are outside of our control. Do not throw and return a 400 response instead. Also re-worked the logic a bit to only return HSTS headers if we send a redirect response, not any other error responses. The tests are re-arrange to correspond with the logical flow in the code. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=207143230 |
||
---|---|---|
.. | ||
config | ||
handler | ||
kubernetes | ||
metric | ||
quota | ||
resources | ||
terraform | ||
BUILD | ||
CertificateModule.java | ||
EppProtocolModule.java | ||
GcpJsonFormatter.java | ||
HealthCheckProtocolModule.java | ||
HttpsRelayProtocolModule.java | ||
MetricsModule.java | ||
Protocol.java | ||
ProxyConfig.java | ||
ProxyModule.java | ||
ProxyServer.java | ||
WebWhoisProtocolsModule.java | ||
WhoisProtocolModule.java |