auth-filter: pass url with query string attached
Otherwise redirections come out wrong. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
2
cgit.c
2
cgit.c
@ -645,7 +645,7 @@ static inline void open_auth_filter(const char *function)
|
||||
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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user