FIX: UTF-8 encode feed response body

This commit is contained in:
Arpit Jalan 2018-05-16 12:56:23 +05:30
parent ff90881238
commit 146f634c8f
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ module Jobs
private
def parsed_feed
raw_feed = fetch_rss
raw_feed = fetch_rss.encode("UTF-8", invalid: :replace, undef: :replace, replace: "")
return nil if raw_feed.blank?
if SiteSetting.embed_username_key_from_feed.present?