IBM Support

LO87194: "<" IS CONVERTED TO "&LT" WHEN FETCH MESSAGE BODY DATA

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

  • When fetching message body data which has html tag, some tags
    were added and converted
    wrongly.
    "<" character is being converted to "&lt;" but ">"
    character
    is not being converted to "&gt;".
    and added <font size="2"\>, and "\" character is added in the
    end of FONT
    tag(</font\>) too.
    
    
    Steps to reproduce:
    
    Scenario 1 -
    
    From Notes,  create a message with body data:
    a<br/>b<br/>c<br/>d<br/>e
    
    Message received by iNotes recipient shows OK.
    
    however when fetched as html via -
    https://host/mail/xxx.nsf/%28$Inbox%29/E
    A91E6A6ECBFD44A8
    5257EF80079F794/?OpenDocument&Form=l_JSVars&PresetFields=s_Handl
    eAttachmentNames
    ;1,s_HandleMime;1,s_OpenUI;1,s_HideRemoteImage;1,s_ProcessRR;1
    
    , the BodyHTML is not correct (it has problems noted above) -
    BodyHtml='<font
    size="2"\>a&lt;br/\>b&lt;br/\>c&lt;br/\>d&lt;br/\>e</font\>';
    
    From Notes, the body is Rich Text -
    
    Field Name: Body
    Data Type: Rich Text
    Data Length: 128 bytes
    Seq Num: 0
    Dup Item ID: 0
    Field Flags: SIGN SEAL
    
    a<br/>b<br/>c<br/>d<br/>e
    
    
    Scenario 2 -
    
    From iNotes, create a message with DBCS body data:
      <br/>?ó<br/>??<br/> ?<br/> ?                                 €
    
    Message received by iNotes recipient shows OK.
    
    
    however when fetched as html via -
    https://host/mail/xxx.nsf/%28$Inbox%29/C
    729126A6D3C51E48
    5257EF800153CD1/?OpenDocument&Form=l_JSVars&PresetFields=s_Handl
    eAttachmentNames
    ;1,s_HandleMime;1,s_OpenUI;1,s_HideRemoteImage;1,s_ProcessRR;1
    
    , the BodyHTML is not correct (it has problems noted above) -
    BodyHtml='<font
    size="2"\>  &lt;br/\>?ó&lt;br/\>??&lt;br/\> ?&lt;br/\> ?</font\*
    
    From Notes, the body is Rich Text -
    Field Name: Body
    Data Type: Rich Text
    Data Length: 138 bytes
    Seq Num: 0
    Dup Item ID: 0
    Field Flags: SIGN SEAL
    
      <br/>?ó<br/>??<br/> ?<br/> ?                                 €
    
    
    
    Note: the problem does NOT OCCUR if the same string is sent from
    iNotes to
    iNotes in a mail message body.  In this case, the Body field
    contains -
    
    Field Name: Body
    Data Type: MIME Part
    Data Length: 259 bytes
    Seq Num: 1
    Dup Item ID: 0
    Field Flags: SIGN SEAL
    
    "Content-Transfer-Encoding: quoted-printable
    Content-Type: text/html;
     charset=ISO-8859-1
    
    <font face=3D"Default Sans
    Serif,Verdana,Arial,Helvetica,sans-serif" size=
    =3D"2">a&lt;br/&gt;b&lt;br/&gt;c&lt;br/&gt;d&lt;br/&gt;e<br></fo
    nt>
    "
    
     BodyHtml='<font face="Default Sans
    Serif,Verdana,Arial,Helvetica,sans-serif"
    size="2"\>a&lt;br/&gt;b&lt;br/&gt;c&lt;br/&gt;d&lt;br/&gt;e<br\>
    </font\>\r\n';
    -------------------------------------------------------------
    

Local fix

Problem summary

  • it is a regression of SPR GMAA745HKP and VSEN7FNQ9F. after I
     roll back this part of code, I found these two sprs have been
     fixed indirectly. so it is safe fo this roll back.
    

Problem conclusion

  • it is a regression of SPR GMAA745HKP and VSEN7FNQ9F. after I
     roll back this part of code, I found these two sprs have been
     fixed indirectly. so it is safe fo this roll back.
    

Temporary fix

Comments

  • This APAR is associated with SPR# JMDKA393LG.
    it is a regression of SPR GMAA745HKP and VSEN7FNQ9F. after I
     roll back this part of code, I found these two sprs have been
     fixed indirectly. so it is safe fo this roll back.
    

APAR Information

  • APAR number

    LO87194

  • Reported component name

    NOTES CLIENT

  • Reported component ID

    5724E6255

  • Reported release

    901

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-11-26

  • Closed date

    2016-01-14

  • Last modified date

    2016-01-14

  • 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

    NOTES CLIENT

  • Fixed component ID

    5724E6255

Applicable component levels

  • R901 PSN

       UP

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

Document Information

Modified date:
14 January 2016