FIX: soundcloud regression due to frozen string

FIX: soundcloud regression due to frozen string

diff --git a/lib/onebox/engine/soundcloud_onebox.rb b/lib/onebox/engine/soundcloud_onebox.rb
index f7d95e8..cb72cd7 100644
--- a/lib/onebox/engine/soundcloud_onebox.rb
+++ b/lib/onebox/engine/soundcloud_onebox.rb
@@ -24,7 +24,7 @@ module Onebox
 
       def get_oembed_url
         oembed_url = "https://soundcloud.com/oembed.json?url=#{url}"
-        oembed_url << "&maxheight=166" unless url["/sets/"]
+        oembed_url += "&maxheight=166" unless url["/sets/"]
         oembed_url
       end

GitHub sha: 23fb8cb9

1 Like

Is that the only place we do << on a string in the onebox gem?

No it’s totally not, I wanted to fix the report. But I’m investigating other parts right now.

2 Likes