class Marten::HTTP::Errors::UnexpectedHost
- Marten::HTTP::Errors::UnexpectedHost
- Marten::HTTP::Errors::SuspiciousOperation
- Exception
- Reference
- Object
Overview
Represents an error raised when the host specified in the request doesn't match the list of allowed hosts.
Marten has to be explictely configured to serve a list of allowed hosts. This is to mitigate HTTP Host header attacks.