Entering whitespace into search?search= causes the 0-result error to not appear when 0 results are returned.
Summary
When searching for whitespace, the 0-result error message does not appear: 1
However, when searching for non-whitespace, it does: 2
Steps to reproduce
Search for a tab character. 1
Example Project
What is the current bug behavior?
When searching for whitespace, the 0-result error message does not appear
What is the expected correct behavior?
It should.
Output of checks
This bug occurs on GitLab.com.
Results of GitLab environment info
This information is inaccessible to me.
Results of GitLab application Check
This information is inaccessible to me.
Possible fixes
Unknown. However, because this also affects other search components, there may be something fundamentally broken:
High-severity bug remediation
@gitlab-bot label typebug
Edited by 🤖 GitLab Bot 🤖


