aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CatDap/Controller
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-06-28 13:49:45 +0000
committerRomain d'Alverny <rda@mageia.org>2012-06-28 13:49:45 +0000
commit96bea6f167974e4736d201336b385cbe6909471a (patch)
tree8823d7bc977d745743a276d72b630afa0323105d /lib/CatDap/Controller
parente3cb88c37d7e8d894cc9c1b95c157bdb86815b15 (diff)
parentc540ec1df4de3ff553a5614b1d940870018615d8 (diff)
downloadidentity-96bea6f167974e4736d201336b385cbe6909471a.tar
identity-96bea6f167974e4736d201336b385cbe6909471a.tar.gz
identity-96bea6f167974e4736d201336b385cbe6909471a.tar.bz2
identity-96bea6f167974e4736d201336b385cbe6909471a.tar.xz
identity-96bea6f167974e4736d201336b385cbe6909471a.zip
Merge branch 'master' into stable
Additional Differences During Subversion Conversion: lib/CatDap/Controller/register.pm
Diffstat (limited to 'lib/CatDap/Controller')
-rw-r--r--lib/CatDap/Controller/register.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CatDap/Controller/register.pm b/lib/CatDap/Controller/register.pm
index 2038e2b..76614bc 100644
--- a/lib/CatDap/Controller/register.pm
+++ b/lib/CatDap/Controller/register.pm
@@ -67,12 +67,12 @@ sub check : Local {
push @errors, $c->loc('Username is not authorized to be used');
}
- if ($c->request->params->{gn} !~ /^[\p{IsAlnum} ]+$/) {
+ if ($c->request->params->{gn} !~ /^[\p{IsAlnum}'\- ]+$/) {
push @errors, $c->loc(
'The first name supplied contains illegal characters'
);
}
- if ($c->request->params->{sn} !~ /^[\p{IsAlnum} ]+$/) {
+ if ($c->request->params->{sn} !~ /^[\p{IsAlnum}'\- ]+$/) {
push @errors, $c->loc(
'The surname supplied contains illegal characters'
);