mirror of
https://git.zx2c4.com/cgit
synced 2025-08-03 09:34:43 +02:00
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:
parent
a22855747e
commit
898b9e19e0
3 changed files with 37 additions and 3 deletions
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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue