Skip to content

Double-quotes in fulltext search string causing server errors #19

@setagana

Description

@setagana

Version affected: 1.4.2

I'm having an issue with my prismic site built in .NET. I'm making use of the fulltext search api and whenever a search string containing a double quote is entered, it results in a server error which begins with

prismic.Error: {"message":"]' expected but [' found

Do I need to do any trimming of characters in the search string prior to passing them to your API and, if so, do you have a full list of dangerous characters that need to be stripped?

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