Remove unwanted results from wiki basic search
What does this MR do and why?
Reject the files with uploads/
and .gitlab/redirects.yml
paths. These paths should not be visible in the search results.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Create a wiki page.
- Upload an image with the name
sample.(jpg|png|jpeg)
- Now change the Path of the wiki to
sample
- Perform a basic search with the keyword
sample
. - You should not see results with binary content and
redirects
.
Related to #389375 (closed)
Merge request reports
Activity
changed milestone to %17.3
assigned to @rkumar555
removed frontend label
added docs-only label
added 1 commit
- 4c917fe5 - Remove uplaods and redirects file results from wiki basic search
- A deleted user
added backend label
Reviewer roulette
Category Reviewer Maintainer backend @ivaneG
(UTC+1, 1 hour behind author)
@eduardobonet
(UTC+2, same timezone as author)
Please refer to documentation page for guidance on how you can benefit from the Reviewer Roulette, or use the GitLab Review Workload Dashboard to find other available reviewers.
If needed, you can retry the
danger-review
job that generated this comment.Generated by
DangerEdited by Ghost Userremoved docs-only label
added 35 commits
-
4c917fe5...0cd98efe - 34 commits from branch
master
- e632f61b - Remove uplaods and redirects file results from wiki basic search
-
4c917fe5...0cd98efe - 34 commits from branch
added 70 commits
-
e632f61b...3c201dd9 - 69 commits from branch
master
- 07831680 - Remove uplaods and redirects file results from wiki basic search
-
e632f61b...3c201dd9 - 69 commits from branch
added 1 commit
- aa89e52d - Remove uplaods and redirects file results from wiki basic search
- Resolved by Madelein van Niekerk
@dgruzd Could you please do the initial review?
requested review from @dgruzd
- Resolved by Ravi Kumar
- Resolved by Madelein van Niekerk
- Resolved by Madelein van Niekerk