Prevent application crashes caused by invalid regular expression patterns (e.g., *, +, (), etc.) in user-provided input used in MongoDB $regex queries.
Apply sanitization to all search and listAll endpoints across the application that use MongoDB $regex.
Ensure consistent handling of special characters in user input to avoid MongoServerError: quantifier does not follow a repeatable item.


Solution



Please authenticate to join the conversation.
Completed
Bug & Fixes
High Priority
10 months ago

Piyush Patel
Get notified by email when there are changes.
Completed
Bug & Fixes
High Priority
10 months ago

Piyush Patel
Get notified by email when there are changes.