Miroslav,

Am 11.09.20 um 17:10 schrieb Miroslav Zagorac:
> there is a small typo in the patch, if says 'iff' instead of 'iif':
> 
> ---
> +  Example:
> +    http-request set-header x-forwarded-proto %[ssl_fc,iff(https,http)]
> ---
> 

Fun. I didn't receive your reply on company mail. I only got it from the
list using my personal subscription. I hope this message threads properly.

Muscle memory is too strong :-/ I even used search and replace to adjust
the name in all files, except configuration.txt. I even had to fix the
'either' within the GPL license comment.

Willy, find a patch attached. I've put Miroslav as 'Reported-by'.

Best regards
Tim Düsterhus
Developer WoltLab GmbH

-- 

WoltLab GmbH
Nedlitzer Str. 27B
14469 Potsdam

Tel.: +49 331 96784338

[email protected]
www.woltlab.com

Managing director:
Marcel Werk

AG Potsdam HRB 26795 P
>From e9ea0196ab20d8cd92ba8a9651e0da7e9575f9ae Mon Sep 17 00:00:00 2001
From: Tim Duesterhus <[email protected]>
Date: Fri, 11 Sep 2020 17:13:12 +0200
Subject: [PATCH] DOC: Fix typo in iif() example
To: [email protected]
Cc: [email protected]

It should read 'iif', not 'iff'.

Reported-by: Miroslav Zagorac <[email protected]>
---
 doc/configuration.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/configuration.txt b/doc/configuration.txt
index 0e34f620d..075d3d5c8 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -15155,7 +15155,7 @@ iif(<true>,<false>)
   string otherwise.
 
   Example:
-    http-request set-header x-forwarded-proto %[ssl_fc,iff(https,http)]
+    http-request set-header x-forwarded-proto %[ssl_fc,iif(https,http)]
 
 in_table(<table>)
   Uses the string representation of the input sample to perform a look up in
-- 
2.28.0

Reply via email to