File uploads with dots in filenames

This has been fixed for the Photo and Image components as well as the File component. The functionality goes something like this:

Original report

See the following example. The problem is that the code for deciding on the mime type in templates/component/file/en.html seems to assume that extension starts with the first dot and not the last one.

Also since MKDoc assumes that the title of the file is just up to the first dot it means that the title cannot be properly edited — the title should be upto the last dot.

This has been reported to the mkdoc-dev list: http://lists.webarch.co.uk/pipermail/mkdoc-dev/2005-May/000287.html

This document was last modified on 2005-09-09 05:44:05.
MKDoc Ltd., 31 Psalter Lane, Sheffield, S11 8YL, UK.
Copyright © 2001-2005 MKDoc Ltd.