Skip to content

Commit

Permalink
fix: Move RubyVer functionality to Utilities module
Browse files Browse the repository at this point in the history
This change is required to mirror mikel/mail@a58bf11
  • Loading branch information
catphish committed Apr 18, 2023
1 parent 7eaea97 commit 5998bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/initializers/mail_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ module Encodings
# Handle windows-1258 as windows-1252 when decoding
def self.q_value_decode(str)
str = str.sub(/=\?windows-?1258\?/i, '\=?windows-1252?')
RubyVer.q_value_decode(str)
Utilities.q_value_decode(str)
end

def self.b_value_decode(str)
str = str.sub(/=\?windows-?1258\?/i, '\=?windows-1252?')
RubyVer.b_value_decode(str)
Utilities.b_value_decode(str)
end

end
Expand Down

0 comments on commit 5998bf3

Please sign in to comment.