Make WordPress Core

Opened 5 years ago

Closed 12 months ago

#54282 closed defect (bug) (invalid)

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

Reported by: sadhaka Owned by:
Priority: normal Milestone:
Component: General Version: 5.8.1
Severity: minor Keywords: reporter-feedback close
Cc: Focuses:

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 (2)

#1 @sabernhardt
5 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?

#2 @karmatosed
12 months ago

  • Keywords close added
  • Milestone Awaiting Review
  • Resolutioninvalid
  • Status newclosed

Thank you for reporting this, it seems like a little while since this was discovered and no more information. For now I am going to close this because it does seem to be most likely something unique to your set up. That doesn’t mean we can’t reconsider at a later date should more information surface.

Note: See TracTickets for help on using tickets.