Homestyx hydra
Diffusion hydra 5c30a60e305f

Tighten Ferret query parsing of empty tokens and empty functions

Description

Tighten Ferret query parsing of empty tokens and empty functions

Summary:
Ref T13509. Certain query tokens like title:="" are currently accepted by the parser but discarded, and have no impact on the query. This isn't desirable.

Instead, require that tokens making an assertion about field content must be nonempty.

Test Plan: Added unit tests, made them pass.

Maniphest Tasks: T13509

Differential Revision: https://secure.phabricator.com/D21106

Details

Provenance
epriestleyAuthored on Apr 14 2020, 11:47 AM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:471e89a8b76d: Add "uri" to "paste.search" API output
Branches
Unknown
Tags
Unknown

Event Timeline