chatwoot/app/builders
Jordan Brough 026e03c307
fix: Handle spaces in CC/BCC email lists (#6788)
When the CC field is generated in the UI, the email values are joined together
with ", " but when they are parsed, we currently split by just ",".

This causes an error on the backend and on the frontend.

It seems reasonable to update the code to allow whitespace in the input and to
split by `\s*,\s` and also to trim leading and trailing whitespace from the CC
list.

---------

Co-authored-by: Sojan <sojan@pepalo.com>
2023-04-18 19:18:23 +05:30
..
campaigns chore: Update dependencies to the latest versions (#5033) 2022-07-15 09:51:59 +07:00
csat_surveys feat: Add CSAT response APIs (#2503) 2021-06-29 20:59:41 +05:30
messages fix: Handle spaces in CC/BCC email lists (#6788) 2023-04-18 19:18:23 +05:30
v2 feat: add Conversation traffic heatmap (#6508) 2023-03-07 09:01:58 +05:30
account_builder.rb fix: Set account default language in account API (#5086) 2022-07-26 22:42:20 +05:30
contact_inbox_builder.rb chore: Refactor Contact Inbox Builders (#5617) 2022-10-13 15:12:04 -07:00
contact_inbox_with_contact_builder.rb chore: Refactor Contact Inbox Builders (#5617) 2022-10-13 15:12:04 -07:00
conversation_builder.rb feat: Ability to lock to single conversation (#5881) 2022-11-25 13:01:04 +03:00
notification_builder.rb fix: assigned_conversation_new_message? NoMethod error (#5225) 2022-08-08 23:43:57 +05:30
notification_subscription_builder.rb chore: Use "create!" and "save!" bang methods when not checking the result (#5358) 2022-09-13 17:40:06 +05:30