Chatwoot/app/javascript
Jordan Brough b9fd1d88ea
Escape search term before building regular expression (#5994)
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.
2022-12-05 16:02:43 -08:00
..
dashboard Escape search term before building regular expression (#5994) 2022-12-05 16:02:43 -08:00
packs fix: Add preference to choose browser lang for widget settings page (#5726) 2022-10-25 15:04:29 -07:00
portal feat: Add search functionality for public portal (#5683) 2022-10-19 17:09:32 -07:00
sdk chore: Remove unnecessary methods and polyfills (#5614) 2022-10-12 14:42:06 -07:00
shared feat: Add the ability to search emojis (#5928) 2022-12-05 16:00:42 -08:00
survey chore: Enable Latvian (lv) language (#5920) 2022-11-22 12:54:13 -08:00
widget feat: Add the ability to search emojis (#5928) 2022-12-05 16:00:42 -08:00