diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-10-28 13:04:02 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-10-28 13:04:02 +0000 |
commit | 078e0fc6ca29a5917b43c0834e4a4f97b58e25de (patch) | |
tree | e25f6bd4f061ecda5502bf1f90763910a2af85e7 /src | |
parent | 0c1ac7d2cbb15807c481d6b415ee3225aae626ca (diff) | |
download | tipidee-078e0fc6ca29a5917b43c0834e4a4f97b58e25de.tar.gz tipidee-078e0fc6ca29a5917b43c0834e4a4f97b58e25de.tar.xz tipidee-078e0fc6ca29a5917b43c0834e4a4f97b58e25de.zip |
Add more forbidden headers
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/config/headers.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/headers.c b/src/config/headers.c index 9ea069f..31d3e69 100644 --- a/src/config/headers.c +++ b/src/config/headers.c @@ -22,10 +22,14 @@ struct builtinheaders_s static struct builtinheaders_s const builtinheaders[] = { { .key = "Accept-Ranges", .value = "none", .overridable = 0 }, + { .key = "Allow", .value = 0, .overridable = 0 }, { .key = "Cache-Control", .value = "private", .overridable = 1 }, { .key = "Connection", .value = 0, .overridable = 0 }, + { .key = "Content-Length", .value = 0, .overridable = 0 }, { .key = "Content-Security-Policy", .value = "default-src 'self'; style-src 'self' 'unsafe-inline';", .overridable = 1 }, + { .key = "Content-Type", .value = 0, .overridable = 0 }, { .key = "Date", .value = 0, .overridable = 0 }, + { .key = "Location", .value = 0, .overridable = 0 }, { .key = "Referrer-Policy", .value = "no-referrer-when-downgrade", .overridable = 1 }, { .key = "Server", .value = "tipidee/" TIPIDEE_VERSION, .overridable = 0 }, { .key = "Status", .value = 0, .overridable = 0 }, |