Skip to content

Fix links to wiki pages with subdirectories in search

khm requested to merge (removed):wiki-search-results-fix into master

What does this MR do?

This merge request applies the code suggested by @fjsanpedro in https://gitlab.com/gitlab-org/gitlab-ce/issues/56234 to fix bad linking of wiki search results that contain subdirectories. I've tested this code and it works as intended.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/56234

Merge request reports