lib/onebox/helpers.rb in onebox-1.8.2 vs lib/onebox/helpers.rb in onebox-1.8.3

- old
+ new

@@ -130,10 +130,10 @@ return "" unless url url = url.dup # expect properly encoded url, remove any unsafe chars url.gsub!("'", "'") url.gsub!('"', """) - url.gsub!(/[^\w\-`.~:\/?#\[\]@!$&'\(\)*+,;=]/, "") + url.gsub!(/[^\w\-`.~:\/?#\[\]@!$&'\(\)*+,;=%]/, "") url end end end