Skip to content

fix: escape PostgREST filter values in prospect search - #57

Closed
AshSgDe29071999 wants to merge 1 commit into
SignalizeAI:mainfrom
AshSgDe29071999:fix/sanitize-prospect-search
Closed

fix: escape PostgREST filter values in prospect search#57
AshSgDe29071999 wants to merge 1 commit into
SignalizeAI:mainfrom
AshSgDe29071999:fix/sanitize-prospect-search

Conversation

@AshSgDe29071999

Copy link
Copy Markdown

Summary

  • Add escapePostgrestValue to neutralize , ( ) . * \" \\ in search terms before building or().
  • Keep the existing REST fetch path; unit-test the helper for the grammar characters called out in the issue.

Closes #50

Neutralize grammar characters in search terms so company names like
Foo (Bar) cannot rewrite the or() expression.
@github-actions

Copy link
Copy Markdown

Welcome, @AshSgDe29071999, and thanks for your first pull request to SignalizeAI-Website.

A quick look at CONTRIBUTING.md covers how things are set up and run here.

I'll review this shortly. Ask anything in the thread if something is unclear.

@AshSgDe29071999 AshSgDe29071999 closed this by deleting the head repository Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prospect search interpolates raw user input into a PostgREST or() filter

1 participant