•  
      request #1663 User realname with \n is not properly escaped in JS code
    Infos
    #1663
    Manuel Vacelet (vaceletm)
    2012-10-24 14:10
    2012-10-23 15:11
    828
    Details
    User realname with \n is not properly escaped in JS code
    How to reproduce:
    * Given a User with "Jean\nMoulin" or "Jean
    Moulin" as realname
    * When I display a list of users in trackers (v3 or v5) with perferences set with "login_name (Real Name)"
    * Then I get a JS error (on IE and on FF)

    Example:
    https://valid2.cro.enalean.com/plugins/tracker/?aid=34
    Trackers
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed (disabled)
    Empty
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    Tuleap 5.5.99.15

    • Status changed from Verified (disabled) to Closed (disabled)
    • CC list set to
    • Platform set to
    • Is an Enhancement or an internal improvement? set to
    User avatar
    • Summary
      -IE warning on artifact display 
      +User realname with \n is not properly escaped in JS code 
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Status changed from New to Verified (disabled)
    • Reported in version changed from 5.6 to All