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

Contents of /rpms/smeserver-subversion/contribs7/smeserver-subversion-1.4-ValidateDescription.patch

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


Revision 1.1 - (show annotations) (download)
Sun Aug 10 15:59:53 2008 UTC (16 years, 3 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-subversion-1_4-30_el4_sme, smeserver-subversion-1_4-29_el4_sme, smeserver-subversion-1_4-34_el4_sme, smeserver-subversion-1_4-31_el4_sme, smeserver-subversion-1_4-35_el4_sme, smeserver-subversion-1_4-33_el4_sme, smeserver-subversion-1_4-28_el4_sme, smeserver-subversion-1_4-27_el4_sme, smeserver-subversion-1_4-32_el4_sme, smeserver-subversion-1_4-26_el4_sme
* Sun Aug 10 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4-26
- Reinstate description validation routine [SME: 3698]
- Remove user/group from repository privileges list(s) when user/group is
  removed from the system [SME: 4013]
- Clarify panel fields for user(s)/group(s) read/write access with regards
  to anonymous access on empty lists [SME: 4327]
- Fix maxLength not appearing in the create/modify page of the panel [SME: 4495]
- Fixed bug reference in previous changelog entry

1 --- smeserver-subversion-1.4/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/subversion.pm.ValidateDescription 2008-08-10 17:34:40.000000000 +0200
2 +++ smeserver-subversion-1.4/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/subversion.pm 2008-08-10 17:43:49.000000000 +0200
3 @@ -975,13 +975,13 @@
4
5 sub validate_description {
6
7 -# my ($self, $description) = @_;
8 + my ($self, $description) = @_;
9
10 -# unless ($description =~ /^([a-z]\X+[\_\.\-a-z0-9]*)$/)
11 -# {
12 -# return $self->localise('DESCRIPTION_HAS_INVALID_CHARS',
13 -# {repoDescription => $description});
14 -# }
15 + unless ($description =~ /^([\w\s\_\.\-]*)$/)
16 + {
17 + return $self->localise('DESCRIPTION_HAS_INVALID_CHARS',
18 + {repoDescription => $description});
19 + }
20 return "OK";
21
22 }

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