Odd number of backlashes throwing error

Created on 6 September 2023, about 1 year ago
Updated 12 September 2023, about 1 year ago

Problem/Motivation

When filtering by odd numbers of backlashes (1, 3, 5 etc.) meilisearch thrown an error: "Expression `\"\\\"` is missing the following closing delimiter: `"`. 9:20 title = "\\\""

Steps to reproduce

Create an entity and give it a title with odd number of backslashes.
Index that entity or entities.
Create a search view with the filter by title
Enter the title with backslashes in the filter on the page
The error should be displayed.

Proposed resolution

It is confirmed this is a meilisearch bug, as seen from the open bug report on git: Git issue Which is already scheduled for a new meilisearch release.

Remaining tasks

Once the new release of meilisearch is released, remove the comments for the provided test that are in todo, to re-test the breaking backslashes bug.

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇸🇮Slovenia DeaOm

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024