You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Cristiano Gavião (JIRA)" <ji...@apache.org> on 2014/06/14 17:28:01 UTC
[jira] [Created] (ARIES-1212) RawSubsystemResource should use the
specified MIME type to filter contents instead its name
Cristiano Gavião created ARIES-1212:
---------------------------------------
Summary: RawSubsystemResource should use the specified MIME type to filter contents instead its name
Key: ARIES-1212
URL: https://issues.apache.org/jira/browse/ARIES-1212
Project: Aries
Issue Type: Improvement
Components: Subsystem
Affects Versions: subsystem-1.0.1
Reporter: Cristiano Gavião
The Subsystem spec states that:
bq. A Subsystem is deployed as a Subsystem Archive (.esa) file. Subsystem Archives are used to store Subsystems and optionally their resources in a standard ZIP-based file format.
bq. This format is defined in Zip File Format. Subsystems normally use the Subsystem Archive extension of .esa but are not required to. However there is a special MIME type reserved for OSGi Subsystems that can be used to distinguish Subsystems from normal ZIP files. This MIME type is: application/vnd.osgi.subsystem
bq. The type is defined in IANA application/vnd.osgi.subsystem.
Current implementation don't care about MIME type and uses the content file's name to do the filtering before process contents. that should be avoided and potentially will prevent the bug stated in [ARIES-1148].
--
This message was sent by Atlassian JIRA
(v6.2#6252)