IBM Support

PH09519: Allow MVSDS to only use the last qualifier of a dataset name for mime extension checking

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • With APACHE, a file can have more than one extension and the
    order of the extensions is normally irrelevant. So IBM HTTP
    Server will check any qualifier in the dataset for a mime
    extension.  This does not always produce the required content
    type for the dataset using MVSDS ,if an mime extension is
    found in a middle qualifier, like PDB.  This can cause the
    request to be displayed as garbage or cause the browser to
    attempt to download the dataset.
    
    This APAR will allow MVSDS to only check the last qualifier of
    a dataset name for mime extension (ie, datasets that end in
    .zip, .pdf, .txt. .xml).
    

Local fix

  • Use RemoveType in the MVSDS directive for the mime type that is
    matching the dataset qualifiers that is not wanted
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of IBM HTTP Server 9.0 with the       *
    *                  MVSDS module on z/OS.                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: A file with multiple extensions can     *
    *                      end up with the wrong content type      *
    *                      for the dataset using MVSDS.            *
    ****************************************************************
    * RECOMMENDATION:  Apply this fix if using IBM HTTP Server     *
    *                  9.0 with the MVSDS module on z/OS.          *
    ****************************************************************
    A new 'MimeOptions' directive configures certain behaviors of
    the 'mod_mime' module.
    Options can be one of: TypesLastExtension,
    NoTypesLastExtension, AllLastExtension, NoAllLastExtension,
    Disable, Enable.
    

Problem conclusion

  • A 'MimeOptions' directive was added to allow Content-Type or
    all metadata detection to use only the last (right-most) file
    extension.
    
    This fix is targeted for IBM HTTP Server fix packs:
    - 9.0.5.0
    

Temporary fix

  • Use RemoveType in the MVSDS directive for the mime type that
    is matching the dataset qualifiers that is not wanted.
    

Comments

APAR Information

  • APAR number

    PH09519

  • Reported component name

    WAS IHS ZOS

  • Reported component ID

    5655I3510

  • Reported release

    90P

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-08

  • Closed date

    2019-06-03

  • Last modified date

    2019-06-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WAS IHS ZOS

  • Fixed component ID

    5655I3510

Applicable component levels

  • R90P PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"90P","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021