HTML Tags in Autosugest
Summary
Using the autosuggest feature, without Elastic Search, does not escape the project names correctly
Steps to reproduce
Type in a search term and wait.
What is the current bug behavior?
The Text is full of HTML Tags
What is the expected correct behavior?
The Text is formatted, not showing any HTML Tags
Relevant logs and/or screenshots
Result, see attached screenshot.
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
~# gitlab-rake gitlab:env:info
System information System: Debian 8.6 Proxy: no Current User: git Using RVM: no Ruby Version: 2.3.3p222 Gem Version: 2.6.6 Bundler Version:1.13.7 Rake Version: 10.5.0 Redis Version: 3.2.5 Git Version: 2.11.1 Sidekiq Version:4.2.7
GitLab information Version: 9.1.3-ee Revision: e28218c Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.1 URL: https://gitlab.example.com HTTP Clone URL: https://gitlab.example.com/some-group/some-project.git SSH Clone URL: git@gitlab.example.com:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: no
GitLab Shell Version: 5.0.2 Repository storage paths:
- default: /daten/gitlab/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Checking GitLab ... Finished