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

Creating an FAQ with accents results with a badly encoded title

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1
    • Fix Version/s: 5.2-rc-1
    • Component/s: {Unused} FAQ
    • Labels:
    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Pull Request Status:
      Awaiting Committer feedback
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: