Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonne Haß <me@mrzyx.de>2013-09-20 01:39:13 +0400
committerJonne Haß <me@mrzyx.de>2013-09-20 01:39:13 +0400
commitad20a8487b8d41a281ca0dd97d6d2bd93caf9942 (patch)
tree15c24a65556866559ccf6e0c02aec96402d7678f /config/initializers
parent68da48f0d60d47727d3c3e7597cd13e52dbd744b (diff)
bump ruby-oembed
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/oembed.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/config/initializers/oembed.rb b/config/initializers/oembed.rb
index e7d98d648..e8334cdad 100644
--- a/config/initializers/oembed.rb
+++ b/config/initializers/oembed.rb
@@ -7,9 +7,6 @@ require 'uri'
# note that 'trusted_endpoint_url' is the only information
# in OEmbed that we can trust. anything else may be spoofed!
-# patch in support for new https soundcloud
-OEmbed::Providers::SoundCloud << "https://*.soundcloud.com/*"
-
oembed_provider_list = [
OEmbed::Providers::Youtube,
OEmbed::Providers::Vimeo,
@@ -35,4 +32,4 @@ end
OEmbed::Providers.register_fallback(OEmbed::ProviderDiscovery)
-TRUSTED_OEMBED_PROVIDERS = OEmbed::Providers \ No newline at end of file
+TRUSTED_OEMBED_PROVIDERS = OEmbed::Providers