IBM Support

PQ24718: REDIRECTION OF URL WITH ' ? ' FAILS DUE TO EMPTY LOCATION: HEADER

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Webserver has been configured to redirect http requests to
    the itself as https requests.  Requests containing a question
    mark ( ? ), fail to be redirected.  The client receives no
    data in the browser, and the connection eventually times out.
    Example configuration:
    Redirect  /RAR_seccgi/*   https://myself/RAR_seccgi/*
    Example webserver -vv trace output:
    GET /RAR_seccgi/selfreg.rexx?VerifyCert=Verify+Personal+Certific
    
    ...(some lines omitted)...
    Redirect.... matched "/RAR_seccgi/selfreg.rexx" -> "https://myho
      st//RAR/bin/selfreg.rexx"
    AA.......... check returned 302
    Translated.. "-null-"
    PICS........ no protocol bags received.
    Redirection.
    No.......... metafile to look for.
    No.......... PICS labels to send back.
    ............ Header section for client
     HTTP/1.1 302 Found
    
     Server: Domino-Go-Webserver/V5R0M0
    
     Date: Thu, 11 Feb 1999 22:38:02 GMT
    
     Location:
    
    Accept-Ranges: bytes
    
    Content-Type: text/html
    
    Content-Length: 367
    
    Last-Modified: Thu, 11 Feb 1999 22:38:02 GMT
    ............ End of headers
    
    
    PD/PSI: KJL  HTRuleDB  HT_Redirect HTMemPool_cat  query
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Those that use the Redirect directive along  *
    *                 with the '?', query, in the URL.             *
    ****************************************************************
    * PROBLEM DESCRIPTION: When specifying the Redirect directive  *
    *                      any time a query string matches a       *
    *                      Redirect directive, the Location:       *
    *                      header contains no value.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a redirect is configured to redirect http requests and the
    URL includes a query (?) the redirect would fail.  The request
    was to be re-initiated using the URL in the 'Location' header
    but a null terminator was put at the beginning of the string
    that is being pointed at, so the 'Location' header was blank.
    As a result the client received no data in the browser and
    eventually the connection times out.
    

Problem conclusion

  • The string that is being pointed at (the URL) to be included
    in the 'Location' header no longer begins with a null
    terminator.
    
    The following COMPID's are affected by these changes:
    
    5697D4300 LDGW for OS/390  Version 5
    
    The code changes are stored in CMVC under defect PQ24718.
    
    * Cross Reference between External and Internal Names
    

Temporary fix

Comments

APAR Information

  • APAR number

    PQ24718

  • Reported component name

    DGW/WAS OS/390

  • Reported component ID

    5697D4300

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    1999-03-05

  • Closed date

    1999-04-06

  • Last modified date

    1999-08-03

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

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

Modules/Macros

  • IMWHTTPD IMWSERVR
    

Fix information

  • Fixed component name

    DGW/WAS OS/390

  • Fixed component ID

    5697D4300

Applicable component levels

  • R500 PSY UQ31859

       UP99/07/14 P F907

  • R510 PSY UQ31863

       UP99/07/14 P F907

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"500","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"500","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 August 1999