]> git.cameronkatri.com Git - cgit.git/commit
Fix cgit_parse_url when a repo url is contained in another repo url
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 28 Mar 2014 22:18:29 +0000 (23:18 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sat, 5 Apr 2014 22:05:36 +0000 (19:05 -0300)
commit10451797fa2370aab6f4146c86e0fa939a9a982b
tree3fb006eb4c87b9777032db53040d923ff3794340
parent88b93113235452d47e7ce474689327c43e64b843
Fix cgit_parse_url when a repo url is contained in another repo url

For example, if I have two repos (remove-suffix is enabled):
  /foo
  /foo/bar

http://cgit/foo/bar/ is interpreted as "repository 'foo', command 'bar'"
instead of "repository 'foo/bar'"
parsing.c