aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.c
diff options
context:
space:
mode:
authorJason A. Donenfeld2018-11-21 03:16:11 +0100
committerJason A. Donenfeld2018-11-25 06:01:34 +0100
commit898b9e19e0eacd67456ddcc91ff173055e1c0e99 (patch)
tree3f056db3a9d329b43a0fa7c567ad54672ace5bfb /cgit.c
parenta22855747e97e55a7b7a2622fe671b8ca9af0981 (diff)
downloadcgit-898b9e19e0eacd67456ddcc91ff173055e1c0e99.tar.gz
cgit-898b9e19e0eacd67456ddcc91ff173055e1c0e99.tar.bz2
cgit-898b9e19e0eacd67456ddcc91ff173055e1c0e99.zip
auth-filter: pass url with query string attached
Otherwise redirections come out wrong. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgit.c b/cgit.c
index 6301b87..2f07e6d 100644
--- a/cgit.c
+++ b/cgit.c
@@ -645,7 +645,7 @@ static inline void open_auth_filter(const char *function)
645 ctx.env.https ? ctx.env.https : "", 645 ctx.env.https ? ctx.env.https : "",
646 ctx.qry.repo ? ctx.qry.repo : "", 646 ctx.qry.repo ? ctx.qry.repo : "",
647 ctx.qry.page ? ctx.qry.page : "", 647 ctx.qry.page ? ctx.qry.page : "",
648 ctx.qry.url ? ctx.qry.url : "", 648 cgit_currentfullurl(),
649 cgit_loginurl()); 649 cgit_loginurl());
650} 650}
651 651