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

Possible "Illegal char : at index 4: wiki:" when displaying a job log on Windows

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      The job log displayer is doing

      $argument.startsWith('wiki:')
      

      assuming that if it's not a String it will just get false.

      Problem is that if this argument is a Path and the system is Windows this line will crash the script...

      We need to make this code a little safer.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: