From 90876cca0f1f1abd3f9554280391dc1e39a544e0 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 27 Oct 2023 22:06:26 +0000 Subject: Add a misspelling Signed-off-by: Laurent Bercot --- doc/tipidee.conf.html | 8 ++++---- src/libtipidee/tipidee_log_request.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/tipidee.conf.html b/doc/tipidee.conf.html index 685b454..4c0a23f 100644 --- a/doc/tipidee.conf.html +++ b/doc/tipidee.conf.html @@ -386,7 +386,7 @@ http version. The path is decoded, but if there are non-printable encoded as hexadecimal values \0xab. If the request line includes a query, a query query field is added before the http field.
referrer
Add a referrer "referrer" field to the request line, for -requests that include a Referrer: header. referrer is quoted like path, to avoid +requests that include a Referer: header. referrer is quoted like path, to avoid malicious clients messing with log lines. This keyword has no effect when given without the request keyword.
user-agent
Add a user-agent "user-agent" field to the request line, for @@ -453,9 +453,9 @@ the header:

- custom-header add name value - custom-header always name value - custom-header remove name + custom-header add name value
+ custom-header always name value
+ custom-header remove name
custom-header never name

diff --git a/src/libtipidee/tipidee_log_request.c b/src/libtipidee/tipidee_log_request.c index d633f0b..6543214 100644 --- a/src/libtipidee/tipidee_log_request.c +++ b/src/libtipidee/tipidee_log_request.c @@ -20,7 +20,7 @@ void tipidee_log_request (uint32_t v, tipidee_rql const *rql, tipidee_headers co if (!string_quotes(sa, rql->uri.path) || !stralloc_0(sa)) goto eerr ; if (v & TIPIDEE_LOG_REFERRER) { - char const *x = tipidee_headers_search(hdr, "Referrer") ; + char const *x = tipidee_headers_search(hdr, "Referer") ; if (x) { refpos = sa->len ; -- cgit v1.3.1