[wp-trac] [WordPress Trac] #59143: Plugin Search Bug: Plugin Search Page (%20 is being added to the searched keyword on page refresh)

WordPress Trac noreply at wordpress.org
Fri Aug 18 16:36:42 UTC 2023


#59143: Plugin Search   Bug: Plugin Search Page (%20 is being added to the searched
keyword on page refresh)
-------------------------+-----------------------------
 Reporter:  nithi22      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Plugins      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 There is a strange bug inside "Add plugins page" while searching for a
 plugin.
 If the search string has a space, then reloading the page will replace the
 space with a "%20". This is inside the search input field.

 === Environment
 - WordPress: 6.3
 - PHP: 8.2.0
 - Server: Apache/2.4.54 (Unix) OpenSSL/1.0.2u PHP/8.2.0 mod_wsgi/3.5
 Python/2.7.18 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_perl/2.0.11
 Perl/v5.30.1
 - Database: mysqli (Server: 5.7.39 / Client: mysqlnd 8.2.0)
 - Browser: Firefox 116.0 (macOS)
 - Theme: Twenty Twenty-Three 1.0
 - MU-Plugins: None activated
 - Plugins:
   * WordPress Beta Tester 3.5.3

 === Steps to Reproduce
 1. Access the WordPress backend.
 2. Navigate to the Plugins-> Add New.
 3. In the search box, enter keywords with space, e.g., "awsm team"
 4. Press Enter or click the Search button.
 5. Refresh the page.
 6. Observe that the **"%20"** is being added to the searched keyword on
 page refresh(awsm%20team).


 === Expected Results
 1.  Search input field should not contain **"%20"**

 === Actual Results
 1. **%20** added to spaces inside the search input field

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59143>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list