lib/onebox/engine/twitter_status_onebox.rb in onebox-1.8.45 vs lib/onebox/engine/twitter_status_onebox.rb in onebox-1.8.46

- old
+ new

@@ -3,10 +3,10 @@ class TwitterStatusOnebox include Engine include LayoutSupport include HTML - matches_regexp(/^https?:\/\/(mobile\.|www\.)?twitter\.com\/.+?\/status(es)?\/\d+(\/(video|photo)\/\d?+)?+\/?$/) + matches_regexp(/^https?:\/\/(mobile\.|www\.)?twitter\.com\/.+?\/status(es)?\/\d+(\/(video|photo)\/\d?+)?+(\/?\?.*)?\/?$/) always_https private def get_twitter_data