aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cristiano Gavião (JIRA) <j...@apache.org>
Subject [jira] [Created] (ARIES-1212) RawSubsystemResource should use the specified MIME type to filter contents instead its name
Date Sat, 14 Jun 2014 15:28:01 GMT
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)

Mime
View raw message