FIX: More errors with non-ascii URLs

This commit is contained in:
Robin Ward
2017-03-07 11:21:26 -05:00
parent d1e587c10a
commit dad57fa033
3 changed files with 21 additions and 4 deletions

View File

@ -34,6 +34,7 @@ class TopicRetriever
# It's possible another process or job found the embed already. So if that happened bail out.
return if TopicEmbed.where(embed_url: @embed_url).exists?
# First check RSS if that is enabled
if SiteSetting.feed_polling_enabled?
Jobs::PollFeed.new.execute({})