Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#54282 new defect (bug)

Search terms wrapped in double quotes never return results directly from iOS Safari keyboard

Reported by: sadhaka's profile sadhaka Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 5.8.1
Component: General Keywords: reporter-feedback
Focuses: Cc:

Description

If a search term wrapped in double quotes is entered into a search field on a WordPress site in iOS Safari, it will never return results, even if the search term is known to exist on the website.

The bug is caused by some lack of sanitisation of the type of double-quotes that are sent by the iOS Safari keyboard. That this is the case can be revealed by typing the search term, wrapped in double quotes, in a plain text editor on iOS, copying and pasting that into the WordPress search field in the browse and hitting return to perform the search; then, the search term succeeds in finding the (known to exist) result.

Change History (1)

#1 @sabernhardt
3 years ago

  • Keywords reporter-feedback added

Welcome to Trac and thanks for the report!

This may relate to the US International PC (or a similar) keyboard setting.

Does the error occur when using an admin search box or a search form on the front-end? Or both?

Note: See TracTickets for help on using tickets.