/[smecontribs]/rpms/smeserver-gitweb/contribs10/smeserver-gitweb-1.1.0-remove_unused_linefeed_from_auth_error.patch
ViewVC logotype

Contents of /rpms/smeserver-gitweb/contribs10/smeserver-gitweb-1.1.0-remove_unused_linefeed_from_auth_error.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Dec 20 15:41:54 2020 UTC (3 years, 4 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-gitweb-1_1_0-14_el7_sme, smeserver-gitweb-1_1_0-13_el7_sme, HEAD
Initial import

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'));

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed