Problem with searching for items with accented characters.

Summary

Using the global search, issues and MRs with accented characters do not display correctly since 17.9.

Steps to reproduce

Go to https://gitlab_url/search?scope=issues

Search for an issue with accents

The display of results is incorrectly encoded.

Example Project

What is the current bug behavior?

The display of results is incorrectly encoded.

What is the expected correct behavior?

The display of accents is correct.

Relevant logs and/or screenshots

image.png

image.png

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info
\[WARNING\] Object storage for ci_secure_files must have a bucket specified

System information 

System: Ubuntu 20.04 

Current User: git 

Using RVM: no 

Ruby Version: 3.2.5 

Gem Version: 3.6.3 

Bundler Version:2.5.11 

Rake Version: 13.0.6 

Redis Version: 7.0.15 

Sidekiq Version:7.2.4 Go 

Version: unknown

GitLab information 

Version: 17.9.1 

Revision: 073f7efc655 

Directory: /opt/gitlab/embedded/service/gitlab-rails 

DB Adapter: PostgreSQL DB Version: 14.15 

URL: https://git.******.fr HTTP 

Clone URL: https://git.******.fr/some-group/some-project.git 

SSH Clone URL: git@git.******.fr:some-group/some-project.git 

Using LDAP: no 

Using Omniauth: yes 

Omniauth Providers: openid_connect

GitLab Shell Version: 14.40.0 Repository storages:

- default: unix:/var/opt/gitlab/gitaly/gitaly.socket GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell

Gitaly

- default Address: unix:/var/opt/gitlab/gitaly/gitaly.socket
- default Version: 17.9.1
- default Git Version: 2.47.2

Results of GitLab application Check

Expand for output related to the GitLab application check
\[WARNING\] Object storage for ci_secure_files must have a bucket specified Checking GitLab subtasks ...

Checking GitLab Shell ...

GitLab Shell: ... GitLab Shell version \>= 14.40.0 ? ... OK (14.40.0) Running /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-shell-check Internal API available: OK Redis available via internal API: OK gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Gitaly ...

Gitaly: ... default ... OK

Checking Gitaly ... Finished

Checking Sidekiq ...

Sidekiq: ... Running? ... yes Number of Sidekiq processes (cluster/worker) ... 1/1

Checking Sidekiq ... Finished

Checking Incoming Email ...

Incoming Email: ... Reply by email is disabled in config/gitlab.yml

Checking Incoming Email ... Finished

Checking LDAP ...

LDAP: ... LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab App ...

Database config exists? ... yes Tables are truncated? ... skipped All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Cable config exists? ... yes Resque config exists? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Systemd unit files or init script exist? ... skipped (omnibus-gitlab has neither init script nor systemd units) Systemd unit files or init script up-to-date? ... skipped (omnibus-gitlab has neither init script nor systemd units) Projects have namespace: ... 80/3 ... yes 78/5 ... yes 1/6 ... yes 403/8 ... yes 80/9 ... yes 399/12 ... yes 78/13 ... yes 75/19 ... yes 78/23 ... yes 75/26 ... yes 8/29 ... yes 75/33 ... yes 79/34 ... yes 399/40 ... yes 75/41 ... yes 75/43 ... yes 80/50 ... yes 75/51 ... yes 83/52 ... yes 83/54 ... yes 386/56 ... yes 80/59 ... yes 79/62 ... yes 75/66 ... yes 75/74 ... yes 79/75 ... yes 81/85 ... yes 82/87 ... yes 386/88 ... yes 75/89 ... yes 75/90 ... yes 82/91 ... yes 80/94 ... yes 399/95 ... yes 362/97 ... yes 78/98 ... yes 75/102 ... yes 80/103 ... yes 386/104 ... yes 81/105 ... yes 362/123 ... yes 399/127 ... yes 75/131 ... yes 81/134 ... yes 82/135 ... yes 82/136 ... yes 81/138 ... yes 78/172 ... yes 150/174 ... yes 363/175 ... yes 399/182 ... yes 399/183 ... yes 399/184 ... yes 150/187 ... yes 400/192 ... yes 79/193 ... yes 75/194 ... yes 386/200 ... yes 386/204 ... yes 2/209 ... yes 363/214 ... yes 2/215 ... yes 75/250 ... yes 295/251 ... yes 351/253 ... yes 351/254 ... yes 351/255 ... yes 15/256 ... yes 15/257 ... yes 15/258 ... yes 15/259 ... yes 15/260 ... yes 364/261 ... yes 293/262 ... yes 367/263 ... yes 386/264 ... yes 2/267 ... yes 370/269 ... yes 386/270 ... yes 403/271 ... yes 386/274 ... yes 75/275 ... yes 393/276 ... yes 401/278 ... yes 465/280 ... yes 496/281 ... yes 495/282 ... yes 496/284 ... yes 393/285 ... yes 496/286 ... yes 393/287 ... yes 393/289 ... yes 496/290 ... yes 496/291 ... yes 496/292 ... yes 75/293 ... yes 496/294 ... yes 496/295 ... yes 364/296 ... yes 393/297 ... yes 426/299 ... yes 399/300 ... yes 293/301 ... yes 496/302 ... yes 393/306 ... yes 9/307 ... yes 393/308 ... yes 78/309 ... yes 379/310 ... yes 465/312 ... yes 466/313 ... yes 371/314 ... yes 466/315 ... yes 465/316 ... yes 496/317 ... yes 496/318 ... yes 496/319 ... yes 495/320 ... yes 495/322 ... yes 496/323 ... yes 496/324 ... yes 495/325 ... yes 496/326 ... yes 496/327 ... yes 495/330 ... yes 426/331 ... yes 465/333 ... yes 426/334 ... yes 496/335 ... yes 426/336 ... yes 496/337 ... yes 496/338 ... yes 496/339 ... yes 371/340 ... yes 426/341 ... yes 496/342 ... yes 364/343 ... yes 496/344 ... yes 9/345 ... yes 74/347 ... yes 393/349 ... yes 393/350 ... yes 526/351 ... yes 351/352 ... yes 496/353 ... yes 496/354 ... yes 496/355 ... yes 393/356 ... yes 495/357 ... yes 496/358 ... yes 426/361 ... yes 465/363 ... yes 465/364 ... yes 546/365 ... yes 546/366 ... yes 546/367 ... yes 364/368 ... yes 364/369 ... yes 496/370 ... yes 399/371 ... yes 393/372 ... yes 496/373 ... yes 496/374 ... yes 496/375 ... yes 496/376 ... yes 150/377 ... yes 2/378 ... yes 495/379 ... yes 496/380 ... yes 526/381 ... yes 372/382 ... yes 75/383 ... yes 393/384 ... yes 496/386 ... yes 546/387 ... yes 546/388 ... yes 75/389 ... yes 74/390 ... yes 546/391 ... yes 378/392 ... yes 378/393 ... yes 150/394 ... yes 496/395 ... yes 363/396 ... yes 351/397 ... yes 351/398 ... yes Redis version \>= 6.2.14? ... yes Ruby version \>= 3.0.6 ? ... yes (3.2.5) Git user has default SSH configuration? ... yes Active users: ... 28 Is authorized keys file accessible? ... yes GitLab configured to store new projects in hashed storage? ... yes All projects are in hashed storage? ... yes

Checking GitLab App ... Finished

Checking GitLab subtasks ... Finished

Possible fixes

Edited by benoit-waldmann