Sanity check for git_get_path_info().
commit4a283ec2ad03ff1cdcdbff1ae886fb5a30fb2342
authorHeikki Hokkanen <hoxu@users.sf.net>
Sat, 9 Aug 2008 12:04:01 +0000 (9 15:04 +0300)
committerHeikki Hokkanen <hoxu@users.sf.net>
Sat, 9 Aug 2008 12:04:01 +0000 (9 15:04 +0300)
treeec7e588da9c3f55e9121769801677210532dc2d7
parentc687b100cf9af6bc8579dd9808f0d2b43703c44d
Sanity check for git_get_path_info().

When unable to get info for path part, die() immediately. This will
prevent apache error log from getting git-ls-tree errors when called
with empty parameters.

Some exploit bots / spam spiders seem to add garbage to otherwise
working URLs which triggered this.
inc/functions.php