aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaram@atc.tcs.com>2014-11-10 05:03:21 +0530
committerSitaram Chamarty <sitaram@atc.tcs.com>2014-11-10 07:19:57 +0530
commit3bad56be3a3589b241112df3fd598e142c0be623 (patch)
tree0e42e069ab5f498f8df04588d537de776a848f6a /t
parentVREF/NAME_NC -- like VREF/NAME but for "new commits" only (diff)
downloadgitolite-gentoo-3bad56be3a3589b241112df3fd598e142c0be623.tar.gz
gitolite-gentoo-3bad56be3a3589b241112df3fd598e142c0be623.tar.bz2
gitolite-gentoo-3bad56be3a3589b241112df3fd598e142c0be623.zip
disallow ../ everywhere
This should have been done as soon as I rolled in support for "ua" (unrestricted arguments; see comments in src/commands/git-annex-shell for details). Please also see mailing list thread around this date for more. In particular, I need to ackowledge someone who pointed this out in the context of "symbolic-ref", but whose name/email I appear to have misplaced!
Diffstat (limited to 't')
-rwxr-xr-xt/0-me-first.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/0-me-first.t b/t/0-me-first.t
index 12668f6..921d3ac 100755
--- a/t/0-me-first.t
+++ b/t/0-me-first.t
@@ -88,7 +88,8 @@ try "
!ok; /FATAL: 'cc/../../../../../..$rb/gitolite-admin' contains '\\.\\.'/
glt perms u4 -c cc/bar/baz/../frob + READERS u2
- !ok; /FATAL: 'cc/bar/baz/\\.\\./frob' contains '\\.\\.'/
+ !ok; /FATAL: no relative paths allowed anywhere!/
+ 'cc/bar/baz/\\.\\./frob' contains '\\.\\.'/
";