dg1cloud-core/src/main/java/it/digione/dg1cloud/controller/StartURPController.java
.. .. @@ -193,7 +193,7 @@ 193 193 if ( "text/plain".equalsIgnoreCase(allegato.getContentType()) == true ) { 194 194 dh = new DataHandler(new String(allegato.getBytes()), allegato.getContentType()); 195 195 } else { 196 - dh = new DataHandler(allegato.getBytes(), allegato.getContentType());196 + dh = new DataHandler(allegato.getBytes(), "application/octet-stream");197 197 } 198 198 attachment.setData(dh); 199 199 } catch (IOException e) {