mirror of
https://github.com/caddyserver/caddy.git
synced 2026-08-04 06:53:36 +00:00
caddyhttp: Document dropping underscore headers
This commit is contained in:
parent
6ab855d3c4
commit
30f0ddd912
1 changed files with 7 additions and 0 deletions
|
|
@ -46,6 +46,13 @@ func init() {
|
|||
// only on the HTTPS port but which do not have any TLS connection policies
|
||||
// defined by adding a good, default TLS connection policy.
|
||||
//
|
||||
// Similar to how other popular web servers work, incoming request header fields
|
||||
// with underscores are ignored/dropped implicitly to mitigate security risks.
|
||||
// Specific headers to allow can be explicitly configured using
|
||||
// `expected_underscore_headers`.
|
||||
//
|
||||
// ### Placeholders
|
||||
//
|
||||
// In HTTP routes, additional placeholders are available (replace any `*`):
|
||||
//
|
||||
// Placeholder | Description
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue