IBM Support

JR45341: INCORRECT URL VALIDATION IN DOCUMENT ATTACHMENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In document attachment, valid URL can not be validated
    correctly.
    Such as http://9.181.1.1:9080/test.html, it will report:
    The value of URL is not valid http://9.181.1.1:9080/test.html
    

Local fix

  • No local fix
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users who use the BPM V7.5.1                *
    ****************************************************************
    * PROBLEM DESCRIPTION: In document attachment, valid URL can   *
    *                      not be validated correctly. Such as     *
    *                      http://9.181.1.1:9080/test.html, it     *
    *                      will report: The value of URL is not    *
    *                      valid.                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Incorrect URL validation in document attachement,URLValidator
    method is not correct in documentAttachment-form.js file
    

Problem conclusion

  • Regular expression in the condition is incorrect in
    documentAttachment-form.js file. The
    '\.\w{2,4}' segment requires that all URLs have at least two
    segments (a.b) and the last segment have at 2 to 4
    alphanumeric characters. The proper regular expression should
    be as follows:
    ^(http|ftp|https|sftp)\:\/\/\w+([\.\-]\w+)*(\:\d+)*([\w\/\.\-\?
    \
    &\%\#\=\@\$]*)*\/?$
    
    The fix has corrected the behaviour.
    
    Install/Dependency information is available in the readme.txt
    on FixCentral. When the user goes to the download files page
    in FixCentral, the readme will be available with the fix
    package as a separate download.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR45341

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-11

  • Closed date

    2013-04-26

  • Last modified date

    2013-04-26

  • 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

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R750 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 October 2021