commit | 898b9e19e0eacd67456ddcc91ff173055e1c0e99 | [log] [tgz] |
---|---|---|
author | Jason A. Donenfeld <Jason@zx2c4.com> | Wed Nov 21 03:16:11 2018 +0100 |
committer | Jason A. Donenfeld <Jason@zx2c4.com> | Sun Nov 25 06:01:34 2018 +0100 |
tree | 3f056db3a9d329b43a0fa7c567ad54672ace5bfb | |
parent | a22855747e97e55a7b7a2622fe671b8ca9af0981 [diff] [blame] |
auth-filter: pass url with query string attached Otherwise redirections come out wrong. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
diff --git a/cgit.c b/cgit.c index 6301b87..2f07e6d 100644 --- a/cgit.c +++ b/cgit.c
@@ -645,7 +645,7 @@ ctx.env.https ? ctx.env.https : "", ctx.qry.repo ? ctx.qry.repo : "", ctx.qry.page ? ctx.qry.page : "", - ctx.qry.url ? ctx.qry.url : "", + cgit_currentfullurl(), cgit_loginurl()); }