mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 18:56:05 +00:00
fix: Move RubyVer functionality to Utilities module
This change is required to mirror https://github.com/mikel/mail/commit/a58bf11afe170524817889b92a55531901c9bc9e
This commit is contained in:
@@ -6,12 +6,12 @@ module Mail
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user