Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23397

Drop the json-lib dependency and ban old commons-lang

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 17.6.0-rc-1
    • 17.5.0
    • Velocity
    • None
    • Unit
    • Unknown

    Description

      json-lib is not maintained for a very long time, and it requires commons-lang (2.x) which has known security vulnerabilities. We need to drop json-lib even if this means partially breaking backwards compatibility for $jsontool.parse(). The tradeoff is to keep the $jsontool.parse() method but change its return type to Object, which should preserve backwards compatibility with most Velocity scripts, if they don't assume the return type is net.sf.json.JSON.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: