1 |
unnilennium |
1.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!\nDoes 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')); |
24 |
unnilennium |
1.2 |
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 |
25 |
|
|
--- smeserver-gitweb-1.0.0.old/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook 2016-06-24 06:48:38.257000000 -0400 |
26 |
|
|
+++ smeserver-gitweb-1.0.0/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook 2016-06-24 07:46:22.088000000 -0400 |
27 |
|
|
@@ -76,7 +76,7 @@ |
28 |
|
|
|
29 |
|
|
# Retrieve project properties from database |
30 |
|
|
my $git_db = esmith::GitDB->open_ro() or |
31 |
|
|
- auth_error( "500 Internal Error", "Could not open the Git repository database!\nDoes the web server have permission to read the git database file?" ); |
32 |
|
|
+ auth_error( "500 Internal Error", "Could not open the Git repository database! Does the web server have permission to read the git database file?" ); |
33 |
|
|
|
34 |
|
|
my $repository = $git_db->get($projectname) or |
35 |
|
|
auth_error( "500 Internal Error", "The git repository '$projectname' does not seem to exist in the repository database!" ); |