diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2011-11-22 15:18:32 -0800 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2011-11-22 15:19:02 -0800 |
commit | 9d311b333347d13ff2f9e0b7109e6b164a3643cc (patch) | |
tree | a2080486c295685c83970933b8a372fb2a54d84a /org.eclipse.jgit.test | |
parent | 3ee3811afb4f1077c3c991a589e37725585c7e06 (diff) | |
download | jgit-9d311b333347d13ff2f9e0b7109e6b164a3643cc.tar.gz jgit-9d311b333347d13ff2f9e0b7109e6b164a3643cc.zip |
Strip leading slashes in RepositoryFilter
If removing the leading slash results in an empty string, return
with an HTTP 404 error before trying to use the RepositoryResolver.
Moving this into a loop ahead of the length check ensures there is
no empty string passed into the resolver.
Change-Id: I80e5b7cf25ae9f2164b5c396a29773e5c7d7286e
Diffstat (limited to 'org.eclipse.jgit.test')
0 files changed, 0 insertions, 0 deletions