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

Annotation of /rpms/smeserver-gitweb/contribs8/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.2 - (hide annotations) (download)
Fri Jun 24 11:49:15 2016 UTC (8 years, 5 months ago) by unnilennium
Branch: MAIN
Changes since 1.1: +12 -0 lines
* Fri Jun 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-21.sme
- fix one more linefeed [SME: 9217]

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!" );

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