[PATCH] expand environmentvariables in root-title and root-descr

2018-04-12 Thread b . laessig
From: Björn Lässig For having personanlized cgit configuration i need to use root-desc=$REMOTE_USER@$HTTP_HOST --- cgit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgit.c b/cgit.c index bd9cb3f..1d7d67e 100644 --- a/cgit.c +++ b/cgit.c @@ -120,9 +120,9 @@ static

[PATCH] Encode value and field before calculating cookie digest, the same way secure_value() does

2018-04-12 Thread thevlad
From: Vlad Safronov Bugfix: Encode value and field before calculating cookie digest, the same way as secure_value() does so validating will work correctly on encoded values. --- filters/simple-authentication.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/filters/simple-authentication