Skip to content

Issue with $search query values containing whitespace #10

Closed
@awright415

Description

@awright415

When I send a request to the server with a $search query that has whitespace, I get an "Unexpected Character" error, unless there's an AND/OR in between. So, in other words, the request fails on phrase queries and implicit AND queries. Examples:

  • Works: parser.query("$search=foo AND bar")
  • Works: parser.query("$search=\"foo AND bar\"")
  • Does not work: parser.query("$search=foo bar")
  • Does not work: parser.query("$search=\"foo bar\"")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions