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

Handle special chars in project search text #5134

Merged

Conversation

Aadesh-Baral
Copy link
Contributor

This PR fixes #5118 by removing special characters found on searched text as some of the special characters work as text search operators in Postgres which leads to an error more info.

@sonarcloud
Copy link

sonarcloud bot commented May 18, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Aadesh-Baral Aadesh-Baral merged commit 9b97b53 into hotosm:develop May 18, 2022
@Aadesh-Baral Aadesh-Baral deleted the fix/project-search-handling branch May 18, 2022 10:46
@Aadesh-Baral Aadesh-Baral restored the fix/project-search-handling branch May 29, 2022 05:30
@Aadesh-Baral Aadesh-Baral deleted the fix/project-search-handling branch May 29, 2022 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Search doesn't handle bad queries very well
1 participant