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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3-milestone-1
    • Fix Version/s: 5.3-milestone-2, 5.2.2
    • Component/s: Velocity
    • Labels:
      None
    • Tests:
      Unit
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The following Velocity code fails with a NullPointerException:

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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: