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

Contents 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.2 - (show annotations) (download)
Sun Nov 23 04:58:11 2008 UTC (15 years, 11 months ago) by slords
Branch: MAIN
Changes since 1.1: +0 -0 lines
FILE REMOVED
Part of epel

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