about summary refs log tree commit diff
path: root/public/embed.js
diff options
context:
space:
mode:
authorunarist <m.unarist@gmail.com>2017-10-12 19:01:32 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-10-12 12:01:32 +0200
commit35ec1c91e3035b6d9f8998b693ff9829f101d752 (patch)
tree5b662c5691408e1f9a61b09188a96d7df0b28f47 /public/embed.js
parent9d84b6e6062db19552e171c61b2647b99834d2f7 (diff)
Fix some failure cases on FetchLinkCardService (#5347)
* If OEmbed response doesn't have a required property `type`, ignore it.
  e.g. `NoMethodError: undefined method 'type' for ...`
* If we failed to detect encoding, fallback to default behavior of Nokogiri.
  e.g. `KeyError: key not found: :encoding`
Diffstat (limited to 'public/embed.js')
0 files changed, 0 insertions, 0 deletions