Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-494

NPE in $escapetool.url() if a parameter is null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.3-milestone-2, 5.2.2
    • 5.3-milestone-1
    • Velocity
    • None
    • Unit
    • N/A

    Description

      The following Velocity code fails with a NullPointerException:

      $escapetool.url({
        'foo': $null
      })
      

      Attachments

        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: