diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-11-23 16:48:51 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-11-23 16:48:51 -0600 |
commit | 6a23fb305f830735b601d0362d4cf881ddc08629 (patch) | |
tree | 1cac3b280bdfe08b622f2fc8ba0f1725aa6459c1 /app/views/shared/_group_form.html.haml | |
parent | 5c6d3a99efa1d29291f0b58655d9fc7febb970f8 (diff) | |
download | gitlab-ce-6a23fb305f830735b601d0362d4cf881ddc08629.tar.gz |
allow "." in group name validation regex24903-allow-groups-with-special-characters
Diffstat (limited to 'app/views/shared/_group_form.html.haml')
-rw-r--r-- | app/views/shared/_group_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_group_form.html.haml b/app/views/shared/_group_form.html.haml index ba25e09d638..fc1753ca082 100644 --- a/app/views/shared/_group_form.html.haml +++ b/app/views/shared/_group_form.html.haml @@ -13,7 +13,7 @@ .input-group-addon = root_url = f.text_field :path, placeholder: 'open-source', class: 'form-control', - autofocus: local_assigns[:autofocus] || false, pattern: "[a-zA-Z0-9-_]+", + autofocus: local_assigns[:autofocus] || false, pattern: "[a-zA-Z0-9-_\\.]+", required: true, title: 'Please choose a group name with no special characters.' - if @group.persisted? |