diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-02 18:09:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-02 18:09:10 +0300 |
commit | 9c33625b8e47c6aa96095018a0c1dd3f22c2ce1e (patch) | |
tree | a55395617870696370830e991e0b7cf7e4099bde /app/finders | |
parent | c658e2d29296721aa65d569a42b778485042795a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/issuable_finder.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/finders/issuable_finder.rb b/app/finders/issuable_finder.rb index 47b2a460e6f..1088d53c9a0 100644 --- a/app/finders/issuable_finder.rb +++ b/app/finders/issuable_finder.rb @@ -46,7 +46,8 @@ class IssuableFinder requires_cross_project_access unless: -> { params.project? } - FULL_TEXT_SEARCH_TERM_REGEX = /\A[\p{ASCII}|\p{Latin}]+\z/.freeze + FULL_TEXT_SEARCH_TERM_PATTERN = '[\u0000-\u218F]*' + FULL_TEXT_SEARCH_TERM_REGEX = /\A#{FULL_TEXT_SEARCH_TERM_PATTERN}\z/.freeze NEGATABLE_PARAMS_HELPER_KEYS = %i[project_id scope status include_subgroups].freeze attr_accessor :current_user, :params |