iachat/app/services
Jordan Brough 4f5c5e9f85
fix: Erase null bytes from incoming Twilio messages (#7901)
We've had some messages come in from a few different phone numbers that had null bytes in them. I don't know how this happens. They don't seem to be malicious.

They currently cause the Postgres gem to raise an error when Chatwoot attempts to save the message body to the database:

ArgumentError (string contains null byte)

Related Rails GitHub issue: rails/rails#26891
2023-09-12 18:07:18 -07:00
..
agent_bots Exception tracker with account (#6603) 2023-03-03 12:14:44 +05:30
auto_assignment feat: Enable Capacity Config UI (#5164) 2022-08-16 16:58:23 +05:30
automation_rules fix: Automations condition based quoted text (#7272) 2023-06-09 17:00:05 +05:30
base feat: Enable Slack Integration in all channels (#1175) 2020-08-29 01:39:41 +05:30
contacts fix: contacts count on filter (#7446) 2023-07-26 17:31:04 +03:00
conversations fix: empty account variable for custom_attrbute_definition running in background job (#7351) 2023-06-20 12:15:36 +05:30
data_import chore: Contact import improvements (#7787) 2023-08-23 23:24:47 -07:00
email_templates chore: Fix emails being sent with the wrong translations (#2236) 2021-06-08 22:45:01 +05:30
facebook chore: Disable message hooks for conversations without incoming message (#7620) 2023-07-26 20:38:49 +03:00
instagram chore: Disable message hooks for conversations without incoming message (#7620) 2023-07-26 20:38:49 +03:00
labels fix: Update associations when a label is updated (#3046) 2021-09-21 10:16:32 +05:30
line chore: Refactor Contact Inbox Builders (#5617) 2022-10-13 15:12:04 -07:00
macros Feat/5733 Add private note action in macros (#5805) 2022-11-07 22:12:10 +05:30
message_templates chore: Disable message hooks for conversations without incoming message (#7620) 2023-07-26 20:38:49 +03:00
messages fix: Adds assignee as a participant during auto-assign (#6789) 2023-03-30 11:39:53 +05:30
microsoft Feat: Support for Microsoft Oauth in Email Channel (#6227) 2023-01-17 02:39:05 +05:30
notification chore: Switch to web-push gem (#6390) 2023-02-03 18:55:22 +05:30
sms Revert "chore: Improve the behaviour of lock to single conversation (… (#7886) 2023-09-09 09:59:21 +05:30
telegram chore: Support telegram edited_message events (#6785) 2023-03-29 18:48:16 +05:30
twilio fix: Erase null bytes from incoming Twilio messages (#7901) 2023-09-12 18:07:18 -07:00
twitter chore: Use "create!" and "save!" bang methods when not checking the result (#5358) 2022-09-13 17:40:06 +05:30
whatsapp Revert "chore: Improve the behaviour of lock to single conversation (… (#7886) 2023-09-09 09:59:21 +05:30
widget chore: Update method to access "secret_key_base" (#7337) 2023-06-19 16:11:19 +05:30
action_service.rb feat: Enable template variables in channel greeting messages (#6971) 2023-04-26 20:23:46 +05:30
filter_service.rb feat: Phone number based automation conditions (#6783) 2023-04-02 10:54:51 +05:30
ip_lookup_service.rb feat(poc): Disable widget based on country (#6658) 2023-03-14 09:09:57 -07:00
search_service.rb chore: Search optimisations (#6644) 2023-03-13 19:10:31 +05:30