We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 708024e commit 5fcbc91Copy full SHA for 5fcbc91
generate-windows-versions.rb
@@ -21,7 +21,7 @@
21
# Validate all the URLs in the versions json
22
def validate(versions, allowed_urls_regexps)
23
versions.values.flat_map(&:values).each do |url|
24
- if allowed_urls_regexps.none? { |regexp| regexp.match? url }
+ if allowed_urls_regexps.none? { |regexp| regexp.match? url.to_s }
25
raise SecurityError, "Unexpected URL: #{url}"
26
end
27
0 commit comments