ronysebastian / nhin-d

Automatically exported from code.google.com/p/nhin-d
0 stars 0 forks source link

Zip attachment is not converted to a XDM package #178

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
org.nhindirect.xd.common.type.DirectDocumentType.XDM only checks filename ends 
with '.zip', but this is not good enough.

        @Override
        public boolean matches(String data, String contentType, String fileName)
        {
            // FIXME: Bad assumption
            return StringUtils.contains(fileName, ".zip");
        }  

Original issue reported on code.google.com by teru.mor...@gmail.com on 27 Feb 2012 at 4:39