1 |
diff -urN smeserver-gitweb-1.1.0.org/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook smeserver-gitweb-1.1.0/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook |
2 |
--- smeserver-gitweb-1.1.0.org/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook 2015-02-03 13:17:16.000000000 +1030 |
3 |
+++ smeserver-gitweb-1.1.0/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook 2016-02-11 12:56:11.415002177 +1030 |
4 |
@@ -67,16 +67,16 @@ |
5 |
|
6 |
# Retrieve project properties from database |
7 |
my $git_db = esmith::GitDB->open_ro() or |
8 |
- auth_error( "500 Internal Error", "Could not open the Git repository database!\nDoes the web server have permission to read the git database file?\n" ); |
9 |
+ auth_error( "500 Internal Error", "Could not open the Git repository database! Does the web server have permission to read the git database file?" ); |
10 |
|
11 |
my $repository = $git_db->get($projectname) or |
12 |
- auth_error( "500 Internal Error", "The git repository '$projectname' does not seem to exist in the repository database!\n" ); |
13 |
+ auth_error( "500 Internal Error", "The git repository '$projectname' does not seem to exist in the repository database!" ); |
14 |
|
15 |
my %properties = $repository->props; |
16 |
|
17 |
# Check if the request is from a local IP address for this host |
18 |
my $networks_db = esmith::NetworksDB->open_ro() or |
19 |
- auth_error( "500 Internal Error", "Could not open the networks database!\n" ); |
20 |
+ auth_error( "500 Internal Error", "Could not open the networks database!" ); |
21 |
|
22 |
# Get server private IP address and mask for access to the local network only |
23 |
my @network_setting = split(/[\/ ]/, $networks_db->local_access_spec('private')); |