]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
auth-filter: pass url with query string attached
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index 6301b87c8ad3d29826e0fc585d6e494bcc9990bd..2f07e6d5c88ddb9a9647da519d5044513f39a5e4 100644 (file)
--- a/cgit.c
+++ b/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());
 }