From 0374a76ce10e50a803df21288888edd4d26a14a9 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Thu, 20 Aug 2009 08:07:51 +0000 Subject: cgit.c: fix caching keyed on PATH_INFO with no QUERY_STRING When generating a hash for caching, ctx.qry.raw is used as key. And since cgit_parse_url() zero-terminates it's argument (after the repo path), ctx.qry.raw must xstrdup(ctx.qry.url). Signed-off-by: Lars Hjemli --- (limited to 'scan-tree.c') -- cgit v0.9.0.2