mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: UTF-8 encode feed response body
This commit is contained in:
parent
ff90881238
commit
146f634c8f
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user