Code

gitweb: Better processing format string in custom links in navbar
authorJakub Narebski <jnareb@gmail.com>
Sat, 11 Oct 2008 22:02:32 +0000 (00:02 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 12 Oct 2008 20:22:02 +0000 (13:22 -0700)
commit2b11e059ee55ae7fb9913acf84fcc065e3e33287
tree22481241067bd15f6db19cecd72a2979e2820fa1
parent5c283eb13c94be6ca974aa722159dc9838d10d97
gitweb: Better processing format string in custom links in navbar

Make processing format string in custom links in action bar ('actions'
feature) more robust.  Now there would be no problems if one of
expanded values (for example project name, of project filename)
contains '%'; additionally format string supports '%' escaping by
doubling, i.e. '%%' expands to '%'.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
gitweb/gitweb.perl