IBM Support

PH54015: REWRITERULE SUBSTITUTION ENDING IN "?" PRODUCES %3F IN URL

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • RewriteRule substitution ending in "?" produces %3f in URL
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM HTTP Server with           *
    *                  IFPH53014                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: mod_rewrite in the interim fix for      *
    *                      PH53014 has a regression that causes a  *
    *                      trailing "?" in a RewriteRule to add    *
    *                      %3F                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A trailing "?" is meant to tell mod_rewrite to not propagate the
    original query string to the rewritten URL.
    

Problem conclusion

  • The code was updated to restore the original behavior of the
    trailing "?".
    
    The fix for this APAR is targeted for inclusion in IBM HTTP
    Server fix packs 8.5.5.24 and 9.0.5.16. For more information, se
    'Recommended Updates for WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

  • In 9.0, the [QSD] flag can be used instead of a trailing "?"
    

Comments

APAR Information

  • APAR number

    PH54015

  • Reported component name

    IBM HTTP SERVER

  • Reported component ID

    5724J0801

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-04-19

  • Closed date

    2023-04-20

  • Last modified date

    2023-04-20

  • 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

    IBM HTTP SERVER

  • Fixed component ID

    5724J0801

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTJ","label":"IBM HTTP Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
21 April 2023