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

Diff 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 | View Patch Patch

Revision 1.2 by unnilennium, Fri Jun 24 11:49:15 2016 UTC Revision 1.3 by unnilennium, Fri Jun 24 12:03:45 2016 UTC
# Line 6  diff -urN smeserver-gitweb-1.1.0.org/roo Line 6  diff -urN smeserver-gitweb-1.1.0.org/roo
6       # Retrieve project properties from database       # Retrieve project properties from database
7       my $git_db = esmith::GitDB->open_ro() or       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" );  -      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?" );  +      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       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" );  -      auth_error( "500 Internal Error", "The git repository '$projectname' does not seem to exist in the repository database!\n" );
# Line 21  diff -urN smeserver-gitweb-1.1.0.org/roo Line 21  diff -urN smeserver-gitweb-1.1.0.org/roo
21                
22       # Get server private IP address and mask for access to the local network only       # 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'));       my @network_setting = split(/[\/ ]/, $networks_db->local_access_spec('private'));
 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  
 --- smeserver-gitweb-1.0.0.old/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook      2016-06-24 06:48:38.257000000 -0400  
 +++ smeserver-gitweb-1.0.0/root/etc/e-smith/templates/etc/gitweb.conf/60ExportAuthHook  2016-06-24 07:46:22.088000000 -0400  
 @@ -76,7 +76,7 @@  
   
      # Retrieve project properties from database  
      my $git_db = esmith::GitDB->open_ro() or  
 -      auth_error( "500 Internal Error", "Could not open the Git repository database!\nDoes the web server have permission to read the git database file?" );  
 +      auth_error( "500 Internal Error", "Could not open the Git repository database! Does the web server have permission to read the git database file?" );  
   
      my $repository = $git_db->get($projectname) or  
        auth_error( "500 Internal Error", "The git repository '$projectname' does not seem to exist in the repository database!" );  


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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