1 |
diff -Nur smeserver-gitweb-1.0.0.old/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook smeserver-gitweb-1.0.0/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook |
2 |
--- smeserver-gitweb-1.0.0.old/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook 2016-06-11 11:20:42.239000000 -0400 |
3 |
+++ smeserver-gitweb-1.0.0/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook 2016-06-11 11:22:57.025000000 -0400 |
4 |
@@ -124,7 +124,7 @@ |
5 |
# to have world read permissions to allow this to work. |
6 |
my $effective_pull_users = $git_db->effective_users_list_from( $properties\{'pull_groups'\}, |
7 |
$properties\{'pull_users'\} ); |
8 |
- if( grep( /^@http_digest[0]$/, $effective_pull_users ) ) \{ |
9 |
+ if( grep( /^@http_digest[0]$/, split( / / , $effective_pull_users ) ) ) \{ |
10 |
# USER IN AUTHORISED LIST -> CHECK PASSWORD |
11 |
if( trypass( @http_digest[0], @http_digest[1] ) == 0 ) \{ |
12 |
return 1; # EXIT USER IS AUTHORISED -> REPOSITORY VIEW ALLOWED |