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

No escaping of special characters for page titles in create.vm

    XMLWordPrintable

    Details

    • Difficulty:
      Trivial
    • Similar issues:

      Description

      When creating a new page or space with special characters in the name, the special characters are not escaped, leading to a corrupted page title.

      The problem is in the create.vm template in line 29, which reads

      #set($redirectparams = "template=${etemplate}&parent=${eparent}&title=$title")

      but should be

      #set($redirectparams = "template=${etemplate}&parent=${eparent}&title=$etitle")

      The variable etitle bears the encoded page title, but it is not used.

        Attachments

          Activity

            People

            Assignee:
            sdumitriu Sergiu Dumitriu
            Reporter:
            ranlauf RĂ¼diger Anlauf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: