Opened 17 years ago
Closed 17 years ago
#11471 closed defect (bug) (fixed)
After bulk comment actions, spaces in a search are removed
| Reported by: | markjaquith | Owned by: | westi |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Administration | Version: | 2.8.4 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
search for "foo bar" or some other two word term in your comments.
Perform a bulk spam.
On redirect, the space between "foo" and "bar" will be missing.
Attachments (2)
Change History (6)
#2
@
17 years ago
- Keywords has-patch added
edit-comments.php handles redirection after a bulk action unlike the other pages. Instead of using wp_get_referer(), remove the query args it needs to, and adds the query args it needs to, it uses a base of "edit-comments.php" then adds on everything, including existing contextual query args such as the search query.
Patch follows the lead set by other pages. Alternatively, we can simply urlencode() $_REQUESTs on what is currently line 106.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Confirmed. Really strange.