/[smecontribs]/rpms/smeserver-git/contribs10/smeserver-git-1.2.0-bz12163.patch
ViewVC logotype

Contents of /rpms/smeserver-git/contribs10/smeserver-git-1.2.0-bz12163.patch

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


Revision 1.1 - (show annotations) (download)
Sat Mar 25 03:08:42 2023 UTC (19 months, 3 weeks ago) by jpp
Branch: MAIN
CVS Tags: smeserver-git-1_2_0-10_el7_sme, smeserver-git-1_2_0-12_el7_sme, smeserver-git-1_2_0-11_el7_sme, HEAD
* Fri Mar 24 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-10.sme
- fix not allowing dot in repo name [SME: 12163]

1 diff -Nur --no-dereference smeserver-git-1.2.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/git.pm smeserver-git-1.2.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/git.pm
2 --- smeserver-git-1.2.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/git.pm 2013-02-09 21:49:54.000000000 -0500
3 +++ smeserver-git-1.2.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/git.pm 2023-03-24 23:05:20.429000000 -0400
4 @@ -830,7 +830,7 @@
5 sub git_repository_validate_name
6 {
7 my( $self, $repositoryName ) = @_;
8 - unless( $repositoryName =~ /^([A-Za-z][\_\-A-Za-z0-9]*)$/ ) {
9 + unless( $repositoryName =~ /^([A-Za-z][.\_\-A-Za-z0-9]*)$/ ) {
10 return $self->localise('GIT_ERROR_NAME_HAS_INVALID_CHARS',
11 {repositoryName => $repositoryName});
12 }

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