From 3cf2970e0e19ab89df45843fb871482cb68adb29 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Fri, 8 Oct 2010 05:08:13 +0530 Subject: [PATCH] info leak prevention can be a little more friendly and acquire some German formality while you're about it ;-) --- src/gl-auth-command | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gl-auth-command b/src/gl-auth-command index dabfa71..0ef6ceb 100755 --- a/src/gl-auth-command +++ b/src/gl-auth-command @@ -242,7 +242,8 @@ if ($perm =~ /C/) { # we know the user and repo; we just need to know what perm he's trying # aa == attempted access my $aa = ($verb =~ $R_COMMANDS ? 'R' : 'W'); -die "$aa access for $repo DENIED to $user\n" unless $perm =~ /$aa/; +die "$aa access for $repo DENIED to $user +(Or there may be no repository at the given path. Did you spell it correctly?)\n" unless $perm =~ /$aa/; # ---------------------------------------------------------------------------- # over to git now