about summary refs log tree commit diff
path: root/tests/t0105-commit.sh
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2011-06-12 20:49:35 +0000
committerLars Hjemli <hjemli@gmail.com>2011-06-12 21:21:30 +0000
commit7f88d20823ad9d375900657334bc27793860f6ee (patch)
treec9f9a0048cae2d94e97138e9ea82e2a103b215ad /tests/t0105-commit.sh
parentscan-tree.c: avoid memory leak (diff)
downloadcgit-pink-7f88d20823ad9d375900657334bc27793860f6ee.tar.gz
cgit-pink-7f88d20823ad9d375900657334bc27793860f6ee.zip
ui-plain.c: fix html and links generated by print_dir() and print_dir_entry()
This patch fixes the following issues:
* the base argument usually isn't zero-terminated, so printing base
  without considering baselen will usually generate random garbage
* when the current url represents a directory but doesn't end in a slash,
  relative urls would be incorrect
* using unescaped paths allows XSS

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'tests/t0105-commit.sh')
0 files changed, 0 insertions, 0 deletions
lass='nohover-highlight'> 2017-03-15Fix bri compilationJune McEnroe cc will remove the file itself just fine. Always exit in case any of the shell commands fail. 2017-03-15Use psvar for title settingJune McEnroe Prevents prompt expansion from happening on the command being run when it is set in the title. 2017-03-14Add bri brightness control scriptJune McEnroe This is probably terrible. 2017-03-14Add comment to tmux terminal overrideJune McEnroe 2017-03-13Have tmux set block cursor on linux consoleJune McEnroe 2017-03-13Use inverse for Visual in colorschemeJune McEnroe