diff options
author | Stan Hu <stanhu@gmail.com> | 2018-08-01 10:44:45 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-08-01 10:45:04 -0700 |
commit | aa5821e571620e09229721a1a235d93a554db6a3 (patch) | |
tree | e076faa082797f700e04f1920478f1e0d4f723d6 /app/controllers/import | |
parent | 636bcebcba5d9215e550f4ca7ba7c75404e06ba9 (diff) | |
download | gitlab-ce-aa5821e571620e09229721a1a235d93a554db6a3.tar.gz |
Assorted Bitbucket Server importer code cleanup based on review
Diffstat (limited to 'app/controllers/import')
-rw-r--r-- | app/controllers/import/bitbucket_server_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/import/bitbucket_server_controller.rb b/app/controllers/import/bitbucket_server_controller.rb index 7495364fac9..798daeca6c9 100644 --- a/app/controllers/import/bitbucket_server_controller.rb +++ b/app/controllers/import/bitbucket_server_controller.rb @@ -13,7 +13,7 @@ class Import::BitbucketServerController < Import::BaseController # Repository names are limited to 128 characters. They must start with a # letter or number and may contain spaces, hyphens, underscores, and periods. # (https://community.atlassian.com/t5/Answers-Developer-Questions/stash-repository-names/qaq-p/499054) - VALID_BITBUCKET_CHARS = /\A[a-zA-z0-9\-_\.\s]+\z/ + VALID_BITBUCKET_CHARS = /\A[\w\-_\.\s]+\z/ def new end |