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

Creating an FAQ with accents results with a badly encoded title

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.2-rc-1
    • 5.1
    • {Unused} FAQ
    • Integration
    • Unknown
    • N/A
    • N/A
    • Awaiting Committer feedback

    Description

      The problem is in:

      https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-faq/xwiki-platform-faq-ui/src/main/resources/FAQCode/FAQHomeSheet.xml

      Fix line

         $response.sendRedirect($xwiki.getURL($newFAQReference, 'inline', "$!{request.queryString}&title=$!{request.question}"))
      

      with

         $response.sendRedirect($xwiki.getURL($newFAQReference, 'inline', "$!{request.queryString}&title=${escapetool.url($request.question)}"))
      

      Attachments

        Activity

          People

            vmassol Vincent Massol
            ludovic Ludovic Dubost
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: