Search Regex #1

Open
opened 2024-12-10 21:18:24 +00:00 by jmarya · 0 comments
Owner

The search functionality currently allows users to enter arbitrary regex patterns. This causes a panic on invalid regex and some weird stuff.

Implement sanitization to restrict allowed regex. The input should only permit:

  • Start (^) and end ($) anchors

All other characters or constructs will be escaped.

The search functionality currently allows users to enter arbitrary regex patterns. This causes a panic on invalid regex and some weird stuff. Implement sanitization to restrict allowed regex. The input should only permit: - Start (`^`) and end (`$`) anchors All other characters or constructs will be escaped.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: synthwrld/synthwave#1
No description provided.