Skip to content

Commit

Permalink
Fix deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
parterburn committed Sep 4, 2024
1 parent b7ae1dd commit 5e0b69c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/email_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def clean_message(body)

def to_utf8(content)
return unless content.present?
content = content&.gsub!("\0", '') # remove null characters
content = content.gsub!("\0", '') # remove null characters

begin
detection = CharlockHolmes::EncodingDetector.detect(content)
Expand Down

0 comments on commit 5e0b69c

Please sign in to comment.