$ bin/post -c tmp http://lucene.apache.org/solr/assets/images/book_sia.png -filetypes “*”
Entering auto mode. Indexing pages with content-types corresponding to file endings *
Entering crawl at level 0 (1 links total, 1 new)
SimplePostTool: WARNING: Skipping URL with unsupported type image/png
the mapping from image/png to a file type does not exist, and thus fails. This works in 'file' mode though.
Here's a quick patch that just makes "*" for filetypes special in web crawling such that it doesn't do a reverse contentType -> file extension check.
The commits were not SOLR-7929 prefixed, so they didn't get added here automatically. Here's the relevant commits:
Commit 1701886 from Erik Hatcher in branch 'dev/branches/lucene_solr_5_3'
[ https://svn.apache.org/r1701886 ]
SOLR-7972, SOLR-7929, SOLR-7978: merge fixes to 5.3 branch for 5.3.1 release