Hi list Monkey doesn't currently support PATH_INFO. So sending two fixes that let cgit be used with the old-style urls (?url=repo/tree/file).
- Lauri
>From 221a9edf32cb6b0fdf8ad9d15fb3f0aaaefe6cce Mon Sep 17 00:00:00 2001 From: Lauri Kasanen <[email protected]> Date: Mon, 17 Dec 2012 16:02:57 +0200 Subject: [PATCH 1/2] Use url= in the repo link, r= doesn't seem to work. Signed-off-by: Lauri Kasanen <[email protected]> --- ui-shared.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ui-shared.c b/ui-shared.c index 75b97a1..88491ba 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -66,7 +66,7 @@ char *cgit_repourl(const char *reponame) if (ctx.cfg.virtual_root) { return fmt("%s/%s/", ctx.cfg.virtual_root, reponame); } else { - return fmt("?r=%s", reponame); + return fmt("?url=%s", reponame); } } -- 1.7.2.1
_______________________________________________ cgit mailing list [email protected] http://hjemli.net/mailman/listinfo/cgit
