mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
media: Also consider extension in FromContent
As used in `resources.GetRemote`. This will now reject image files with text and text files with images.
This commit is contained in:
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
function foo() {
|
||||
return "foo";
|
||||
}
|
||||
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 114 KiB |
Reference in New Issue
Block a user