2
0

Drop EOL Ruby 2.7 (#24237)

This commit is contained in:
Nick Schonning
2023-04-26 19:46:18 -04:00
committed by GitHub
parent d8a06c1375
commit 49fad26eca
12 changed files with 12 additions and 27 deletions

View File

@@ -2,7 +2,7 @@
class FetchOEmbedService
ENDPOINT_CACHE_EXPIRES_IN = 24.hours.freeze
URL_REGEX = /(=(http[s]?(%3A|:)(\/\/|%2F%2F)))([^&]*)/i.freeze
URL_REGEX = /(=(http[s]?(%3A|:)(\/\/|%2F%2F)))([^&]*)/i
attr_reader :url, :options, :format, :endpoint_url