-
Bug
-
Resolution: Done
-
Minor
-
1.0.0.Alpha4
-
None
The upload file chooser accepts only zip files by default. While .ear and .*ar are technically zips, they are not recognized as such.
The file chooser code in detail-deployments-add.html restricts to pure zip only:
<div class="col-sm-9">
<input fileread="dac.deploymentData.binaryFile" type="file" accept="application/zip"
ng-model="dac.deploymentData.filePath" hk-valid-file required
name="deployFile"/>
</div>
Wikipedia seems to suggest a mime-type of "application/java-archive" https://en.wikipedia.org/wiki/JAR_(file_format)