mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-13 21:01:16 +08:00
When doing a conversation search, if the search term includes any regular expression characters and the search returns results, then this function would throw an exception. For example, if a conversation includes the text "+15555550111" and you search for "+15555550111" then you get an exception like: > Invalid regular expression: /(+15555550111)/: Nothing to repeat Because the "+" is not escaped. |
||
|---|---|---|
| .. | ||
| dashboard | ||
| packs | ||
| portal | ||
| sdk | ||
| shared | ||
| survey | ||
| widget | ||