This commit is contained in:
Sam 2018-03-08 15:16:12 +11:00
parent 4b8ff7a057
commit ddcca1d5cc

View File

@ -160,8 +160,7 @@ class ImportScripts::XenForo < ImportScripts::Base
if ! s.valid_encoding?
s = s.encode("UTF-16be", invalid: :replace, replace: "?").encode('UTF-8')
end
#End Fix
# Work around it for now:
s.gsub!(/\[http(s)?:\/\/(www\.)?/, '[')