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

Page names containing [ or ] break the REST search results

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0 M1
    • Fix Version/s: 3.0 M2
    • Component/s: REST
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      The URI builder used inside JaxRsUriBuilder doesn't escape some special URI symbols (delimiters), and while the other special characters are either escaped or valid inside the path, these two cause an exception in the java.net.URI constructor. As a result, any search that would return a document containing brackets will end up as an internal server error.

        Attachments

          Activity

            People

            Assignee:
            sdumitriu Sergiu Dumitriu
            Reporter:
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: