about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-03-25 02:43:51 +0100
committerLars Hjemli <hjemli@gmail.com>2008-04-08 21:35:00 +0200
commitfa4dfee5489d8c829da92637dd84e8650439f313 (patch)
tree2c5e6ffd0a20de58de7353acb278e76a56d23bb6 /tests
parentMerge branch 'lh/cleanup' (diff)
downloadcgit-pink-fa4dfee5489d8c829da92637dd84e8650439f313.tar.gz
cgit-pink-fa4dfee5489d8c829da92637dd84e8650439f313.zip
Don't specify mimetype in ui-blob.c
But be sure to specify correct filename. This way, the client can hopefully
guess a sensible mimetype based on the filename suffix, and cgit can ignore
the issue altogether.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
d>Christian Hesse This makes the markdown filter generate anchor links for headings. Signed-off-by: Christian Hesse <mail@eworm.de> Tested-by: jean-christophe manciot <actionmystique@gmail.com> 2018-08-03Bump version.Jason A. Donenfeld Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2018-08-03clone: fix directory traversalJason A. Donenfeld This was introduced in the initial version of this code, way back when in 2008. $ curl http://127.0.0.1/cgit/repo/objects/?path=../../../../../../../../../etc/passwd root:x:0:0:root:/root:/bin/sh ... Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Reported-by: Jann Horn <jannh@google.com> 2018-08-03config: record repo.snapshot-prefix in the per-repo configKonstantin Ryabitsev