IBM Support

PI70372: MOD_MVSDS SERVES A PLAIN TEXT FILE AS AN HTML PAGE IF IT CONTAINS ANY STRING STARTING WITH A '<' AND ENDING WITH A '>'.

Fixes are available

8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
9.0.0.3: WebSphere Application Server traditional V9.0 Fix Pack 3
9.0.0.4: WebSphere Application Server traditional V9.0 Fix Pack 4
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
9.0.0.5: WebSphere Application Server traditional V9.0 Fix Pack 5
9.0.0.6: WebSphere Application Server traditional V9.0 Fix Pack 6
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
9.0.0.7: WebSphere Application Server traditional V9.0 Fix Pack 7
9.0.0.8: WebSphere Application Server traditional V9.0 Fix Pack 8
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
9.0.0.9: WebSphere Application Server traditional V9.0 Fix Pack 9
9.0.0.10: WebSphere Application Server traditional V9.0 Fix Pack 10
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
9.0.0.11: WebSphere Application Server traditional V9.0 Fix Pack 11
9.0.5.0: WebSphere Application Server traditional Version 9.0.5 Refresh Pack
9.0.5.1: WebSphere Application Server traditional Version 9.0.5 Fix Pack 1
9.0.5.2: WebSphere Application Server traditional Version 9.0.5 Fix Pack 2
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
9.0.5.3: WebSphere Application Server traditional Version 9.0.5 Fix Pack 3
9.0.5.4: WebSphere Application Server traditional Version 9.0.5 Fix Pack 4
9.0.5.5: WebSphere Application Server traditional Version 9.0.5 Fix Pack 5
WebSphere Application Server traditional 9.0.5.6
9.0.5.7: WebSphere Application Server traditional Version 9.0.5 Fix Pack 7
9.0.5.8: WebSphere Application Server traditional Version 9.0.5.8
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
9.0.5.9: WebSphere Application Server traditional Version 9.0.5.9
9.0.5.10: WebSphere Application Server traditional Version 9.0.5.10
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21
9.0.5.11: WebSphere Application Server traditional Version 9.0.5.11

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A text file that has a pair of angle brackets <
    and > can confuse mod_mvsds into thinking that the page is an
    HTML page.
    

Local fix

  • Use "forcetype text/plain"
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of IBM HTTP Server (powered by        *
    *                  Apache).                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: mod_mvsds will serve a text file as an  *
    *                      text/html content-type if it contains   *
    *                      both                                    *
    *                      '<' with a '>'.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    mod_mvsds will serve a text file as an HTML page if it
    contains a string starting with a '<' and ending with a '>'.
    For example, a text file containing the string "This string
    has a <pair of angle brackets>" to be served with a
    Content-Type of text/html.
    A noticeable symptom of a text file being served with a
    Content-Type of text/html is that extraneous whitespace will
    be stripped from the response.
    

Problem conclusion

  • The directive MvsdsAlternateHtmlSniff was added to IBM HTTP
    Server to better detect between HTML and plain text files.
    Setting MvsdsAlternateHtmlSniff to ON will enable the
    alternate HTML sniffing strategy.
    
    More information on the alternate HTML sniffing strategy can
    be found at
    http://publib.boulder.ibm.com/httpserv/manual24/mod/mod_mvsds.ht
    ml
    
    This fix is targeted for IBM HTTP Server fix packs:
     - 7.0.0.43
     - 8.0.0.13
     - 8.5.5.12
     - 9.0.0.3
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI70372

  • Reported component name

    WAS IHS ZOS

  • Reported component ID

    5655I3510

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-07

  • Closed date

    2016-11-03

  • Last modified date

    2016-11-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

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
04 May 2022