|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80550 bug search: Nonsensical "the following words were ignored:" w/ trailing space
Submitted: 2020-12-24 21:16 UTC Modified: 2020-12-28 13:33 UTC
From: php4fan at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
 [2020-12-24 21:16 UTC] php4fan at gmail dot com
Steps to reproduce:

1. go to
2. In the first input field ("with all or any of the words") type:
     "type array null "
   with one or more spaces at the end. These are just example words, it's not relevant what words you type, but it's important that you add one or more spaces at the end

Expected result:
Should find the same results as if typing the same key words without any trailing spaces.

Leading and trailing spaces and additional spaces between words should be irrelevant.

No warning should be shown. The fact that you added an unnecessary space at the end of the query is not something you need to be warned about.

Actual result:
This stupid nonsensical message appears at the top of the results page:

The following words were ignored:

with no words after the colon.


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-12-24 21:29 UTC]
Thanks for the report. You can submit a PR to add trim() function on the line
 [2020-12-26 17:03 UTC]
The following pull request has been associated:

Patch Name: Added trim() due to Bug #80550
On GitHub:
 [2020-12-28 13:33 UTC]
Automatic comment on behalf of
Log: Fix #80550: bug search: Nonsensical "the following words were ignored:" w/ trailing space
 [2020-12-28 13:33 UTC]
-Status: Open +Status: Closed
 [2020-12-28 13:33 UTC]
-Assigned To: +Assigned To: cmb
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Feb 22 04:01:29 2024 UTC