]> granicus.if.org Git - cgit/commit
Remove troublesome chars from cachefile names
authorLars Hjemli <hjemli@gmail.com>
Thu, 11 Jan 2007 23:24:35 +0000 (00:24 +0100)
committerLars Hjemli <hjemli@gmail.com>
Thu, 11 Jan 2007 23:24:35 +0000 (00:24 +0100)
commit2c2047ff67a1e0053f95776e5079e432f69cea54
tree0572bd25c3f7ef43494664cca750c940c9e93ef1
parent83a5f35a2724ee60bfd8c5679b98da7008272254
Remove troublesome chars from cachefile names

Add a funtion cache_safe_filename() which replaces possibly bad filename
characters with '_'.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cache.c
cgit.c
cgit.h