/[smecontribs]/rpms/smeserver-subversion/contribs7/smeserver-subversion-1.4-SanitizeGroupMemberExpansion.patch
ViewVC logotype

Annotation of /rpms/smeserver-subversion/contribs7/smeserver-subversion-1.4-SanitizeGroupMemberExpansion.patch

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


Revision 1.3 - (hide annotations) (download)
Tue Nov 25 16:20:30 2008 UTC (15 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-subversion-1_4-38_el4_sme, smeserver-subversion-1_4-51_el4_sme, smeserver-subversion-1_4-40_el4_sme, smeserver-subversion-1_4-49_el4_sme, smeserver-subversion-1_4-37_el4_sme, smeserver-subversion-1_4-36_el4_sme, smeserver-subversion-1_4-45_el4_sme, smeserver-subversion-1_4-50_el4_sme, smeserver-subversion-1_4-39_el4_sme, smeserver-subversion-1_4-48_el4_sme, smeserver-subversion-1_4-46_el4_sme, HEAD
Changes since 1.2: +0 -0 lines
Restore

1 snetram 1.1 --- smeserver-subversion-1.4/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent.SanitizeGroupMemberExpansion 2008-02-25 23:38:30.000000000 +0100
2     +++ smeserver-subversion-1.4/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent 2008-02-25 23:49:21.000000000 +0100
3     @@ -129,11 +129,17 @@
4    
5     foreach my $groupRead (@groupsRead) {
6    
7     - my $membersRead = $db_accounts->get_prop($groupRead, 'Members') || "";
8     + my $record = $db_accounts->get($groupRead);
9    
10     - if (length($membersRead) > 0) {
11     + if ($record) {
12    
13     - push @listRead, split (/,/, $membersRead);
14     + my $membersRead = $record->prop('Members') || "";
15     +
16     + if (length($membersRead) > 0) {
17     +
18     + push @listRead, split (/,/, $membersRead);
19     +
20     + }
21    
22     }
23    
24     @@ -170,11 +176,17 @@
25    
26     foreach my $groupWrite (@groupsWrite) {
27    
28     - my $membersWrite = $db_accounts->get_prop($groupWrite, 'Members') || "";
29     + my $record = $db_accounts->get($groupRead);
30    
31     - if (length($membersWrite) > 0) {
32     + if ($record) {
33    
34     - push @listWrite, split (/,/, $membersWrite);
35     + my $membersWrite = $record->prop('Members') || "";
36     +
37     + if (length($membersWrite) > 0) {
38     +
39     + push @listWrite, split (/,/, $membersWrite);
40     +
41     + }
42    
43     }
44    

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