History

parse_cf_email.rb: fix URI.unescape is obsolete

Simon Legner committed 5 years ago

Commit fbfa9de1 parent f5eb47f2 files · +18 −1Browse files

Showing the changes to lib/docs (1 of 2 files). Show all

Unified · Split

lib/docs/filters/core/parse_cf_email.rb+1−1
@@ -12,7 +12,7 @@ module Docs · 11 unmodified lines
1212 result += "%" + "0#{("0x#{slice.join}".hex ^ mask).to_s(16)}"[-2..-1]
1313 end
1414
15− node.replace(URI.decode(result))
15+ node.replace(URI.decode_www_form_component(result))
1616 end
1717
1818 doc