InstantSearch iOS constructs a bad request when receives facet value with quotation marks.
Example
The input 45\"-50\" tv\'s is transformed to "45"-50" tv's" and breaks the JSON format.
This PR adds additional escaping for quotation marks in the textual filter values to avoid this issue.
Result
InstantSearch works correctly with facet values including quotation marks.
Summary
InstantSearch iOS constructs a bad request when receives facet value with quotation marks.
Example
The input
45\"-50\" tv\'s
is transformed to"45"-50" tv's"
and breaks the JSON format. This PR adds additional escaping for quotation marks in the textual filter values to avoid this issue.Result
InstantSearch works correctly with facet values including quotation marks.