Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Search Query Handling with Special Characters #178

Merged
merged 1 commit into from
Dec 22, 2023

Commits on Dec 22, 2023

  1. back: Enhance search query handling with special characters.

    Added lodash to the project dependencies and utilized its escapeRegExp function
    to escape special characters in the search query. This update is to ensure that
    when special characters are included in search terms, they are treated as
    literal characters in the regex used in the searchRegions function. These
    changes aim to prevent errors and crashes in the backend when users input
    special characters like '?' in the search field.
    
    Issue: #160
    
    Signed-off-by: Nikolay Martyanov <ohmspectator@gmail.com>
    OhmSpectator committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    0d6c58f View commit details
    Browse the repository at this point in the history