/[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.1 - (show annotations) (download)
Mon Feb 25 22:51:53 2008 UTC (16 years, 8 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-subversion-1_4-8_el4_sme, smeserver-subversion-1_4-24_el4_sme, smeserver-subversion-1_4-25_el4_sme, smeserver-subversion-1_4-30_el4_sme, smeserver-subversion-1_4-14_el4_sme, smeserver-subversion-1_4-17_el4_sme, smeserver-subversion-1_4-13_el4_sme, smeserver-subversion-1_4-29_el4_sme, smeserver-subversion-1_4-34_el4_sme, smeserver-subversion-1_4-5_el4_sme, smeserver-subversion-1_4-21_el4_sme, smeserver-subversion-1_4-31_el4_sme, smeserver-subversion-1_4-12_el4_sme, smeserver-subversion-1_4-35_el4_sme, smeserver-subversion-1_4-2_el4_sme, smeserver-subversion-1_4-33_el4_sme, smeserver-subversion-1_4-6_el4_sme, smeserver-subversion-1_4-20_el4_sme, smeserver-subversion-1_4-18_el4_sme, smeserver-subversion-1_4-28_el4_sme, smeserver-subversion-1_4-11_el4_sme, smeserver-subversion-1_4-10_el4_sme, smeserver-subversion-1_4-23_el4_sme, smeserver-subversion-1_4-27_el4_sme, smeserver-subversion-1_4-32_el4_sme, smeserver-subversion-1_4-22_el4_sme, smeserver-subversion-1_4-26_el4_sme, smeserver-subversion-1_4-4_el4_sme, smeserver-subversion-1_4-16_el4_sme, smeserver-subversion-1_4-15_el4_sme, smeserver-subversion-1_4-3_el4_sme
* Mon Feb 25 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
- 1.4-3
- Add hooks to user-delete and group-delete event [SME: 3981]
- Remove subversion-delete event since it is and should not be used [SME: 3982]
- Improve sanity check on repository-delete event [SME: 3983]

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