IBM Support

PM68145: 1 CHARACTER DELETED WHEN # AND ? USED IN <A> TAG

 

APAR status

  • Closed as program error.

Error description

  • When #<id> is used in <a> tag to WCM content in
    HTML
    and Rich Text component and content is saved, following
    problems
    occur.
    
    1. one character before # is removed, when user adds parameter
    and #<id> at the end of URL as below. With following
    <a> tag,
    "param=value#id" becomes "param=valu#id".
    
    
    <a  href="/wps/wcm/myconnect/<library name>/<site
    area name>/<content name>?
    contentIDR=xxxxx&useDefaultText=0&useDefautlDesc=0 ᄋm=value#i
    d"
    
    becomes
    
    <a  href="/wps/wcm/myconnect/<library name>/<site
    area name>/<content name>?
    contentIDR=xxxxx&useDefaultText=0&useDefautlDesc=0 ᄋm=valu#id
    "
    

Local fix

  • In LinkCmpnt, when it processes query string, it calculate the
    position of '#' by 1.
    

Problem summary

  • 1 character deleted when # and ? used in <a> tag
    
    When #<id> is used in <a> tag to WCM content in HTML
    and Rich Text component and content is saved, following problems
    occur.
    
    1. one character before # is removed, when user adds parameter
    and #<id> at the end of URL as below. With following
    <a> tag, "param=value#id" becomes "param=valu#id".
    
    
    <a  href="/wps/wcm/myconnect/<library name>/<site
    area name>/<content name>?contentIDR=xxxxx&useDefaultTe
    xt=0&useDefautlDesc=0&param=value#id"
    
    becomes
    
    <a  href="/wps/wcm/myconnect/<library name>/<site
    area name>/<content name>?contentIDR=xxxxx&useDefaultTe
    xt=0&useDefautlDesc=0&param=valu#id"
    

Problem conclusion

  • In LinkCmpnt, when it processes query string, it calculates the
    position of '#' incorrectly by 1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM68145

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-04

  • Closed date

    2012-07-04

  • Last modified date

    2012-07-04

  • 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

    LOTUS WEB CONT

  • Fixed component ID

    5724I2900

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU051","label":"N\/A"},"Product":{"code":"SUPPORT","label":"IBM Web Content Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB33","label":"N\/A"}}]

Document Information

Modified date:
21 December 2021