Merge remote-tracking branch 'origin/rails' into staging-cd
Some checks failed
continuous-integration/drone the build failed

This commit is contained in:
Cat /dev/Nulo 2021-09-28 18:21:08 -03:00
commit 0dfaee9502

View file

@ -56,7 +56,7 @@ class MetadataContent < MetadataTemplate
uri = URI element['src']
# No permitimos recursos externos
element.remove unless uri.hostname.end_with? Site.domain
element.remove unless uri.scheme == 'https' && uri.hostname.end_with?(Site.domain)
rescue URI::Error
element.remove
end