Skip to content

Fix code and wiki search results when filename is non-ASCII

What does this MR do?

Fixes this search: https://gitlab.com/search?utf8=%E2%9C%93&search=webhook&group_id=&project_id=72724&search_code=true&repository_ref=master

Once this is deployed to staging, this should work: https://staging.gitlab.com/search?utf8=%E2%9C%93&search=webhook&group_id=&project_id=72724&search_code=true&repository_ref=master

Are there points in the code the reviewer needs to double check?

Did I miss any other potential non-ASCII data?

Why was this MR needed?

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17413#note_62580006

Does this MR meet the acceptance criteria?

  • Changelog entry added, if necessary
  • Tests added for this feature/bug
  • Review
    • Has been reviewed by Backend

Merge request reports