IBM Support

LO39376: "MAXIMUM URL LENGTH" IN SERVER DOCUMENT DOES NOT WORK WITH A VAL UE > 2K

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • "Maximum URL Length" setting in Server Doc set a maximum URL
    string length
    Domino can handle and if a legnth exceeded, it returned 400
    error. The default
    value is 4K.
    
    However, this does not work if >2K is set, because Max URL is
    hard-coded as 2K
    in the code as MAX_DOMINO_URL_LENGTH.
    
    I give GET request with more than 2048 chars with a default
    setting (4K), which
    should be capable but failed with 400 error.
    
    A fix should be:
    a) change the default value to 2K
    b) add a description to a field help that the maximum for this
    field setting is
    2K.
    
    
    Step to reproduce:
    
    1. change a security setting of Web server to run LS agent
    2. Open this database with Designer
    3. Open agent "PrintHTMLAgentForInvestigate", move to Initialize
    and change
    strUrlFixed variable. Change a server name to your one.
          Currently 'berial.toyosu.japan.ibm.com/huf00304.nsf....'
    is specified.
    Only change the server name part.
    4. From browser, type
    "http://servername/huf00304.nsf/PrintHtmlAgentForInvestigate?Ope
    nAgent"
    5. With "Number of Parameters" set to "997" and Deliminater set
    to "&" in the
    table, Click "OK"
     This will add the number of times of "&=" after ?OpenAgent
    6. Browser is reloaded with lengthly URL.
    
    
    
    I attached nsf that will create a lengthy URL request (Sorry
    that I translated
    only parts necessary for you to look at)
    
    Step to reproduce:
    
    1. change a security setting of Web server to run LS agent
    2. Open this database with Designer
    3. Open agent "PrintHTMLAgentForInvestigate", move to Initialize
    and change
    strUrlFixed variable. Change a server name to your one.
          Currently 'berial.toyosu.japan.ibm.com/huf00304.nsf....'
    is specified.
    Only change the server name part.
    4. From browser, type
    "http://servername/huf00304.nsf/PrintHtmlAgentForInvestigate?Ope
    nAgent"
    5. With "Number of Parameters" set to "997" and Deliminater set
    to "&" in the
    table, Click "OK"
     This will add the number of times of "&=" after ?OpenAgent
    6. Browser is reloaded with lengthly URL.
    
    52 chars with
    "/huf00304.nsf/PrintHtmlAgentForInvestigate?OpenAgent"
    If 997 is specified on "Number of Parameters" Total length of
    URL is 52 + 2*997
    =2046.
    If 998 is specified on "Number of Parameters" Total length of
    URL is 52 + 2*997
    =2048.
    
    
    <Results>
    A) 997 for "Number of Parameters" + "Max URL Length" = 1K
    Failed - "HTTP 400 Bad Request" This is because total length
    2046 is greater
    than 1K. "Max URL Length" is working.
    
    B) 997 for "Number of Parameters" + "Max URL Length" = 4K
    (Default)
    Pass - "HTTP 200 OK" because total length is 2046.
    
    C) 998 for "Number of Parameters" + "Max URL Length" = 4K
    (Default)
    Failed - "HTTP 404 NOT FOUND" because total length is 2048. Even
    though it
    passed Max URL Length check, it failed inside Domino. I supposed
    this is with
    hardcoded 2K in the code.
    

Local fix

Problem summary

  • This problem was resolved as: No Plans To Fix in this Codestream
    

Problem conclusion

Temporary fix

Comments

  • This APAR is associated with SPR# JUYA7QQ7YY.
    This problem was resolved as: No Plans To Fix in this
     Codestream
    

APAR Information

  • APAR number

    LO39376

  • Reported component name

    NOTES/DOMINO 7X

  • Reported component ID

    5724E6200

  • Reported release

    703

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-04-07

  • Closed date

    2009-04-10

  • Last modified date

    2009-05-05

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

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

Modules/Macros

  • NA
    

Fix information

Applicable component levels

  • R703 PSN

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTMJ","label":"Lotus Domino"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.3","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
05 May 2009