Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-18202

German Umlauts break the QuickSearch

    XMLWordPrintable

Details

    Description

      The quick search breaks at the first non-ascii character.

      Steps to reproduce:

      • create a page named "Thöggele"
      • wait until it is indexed
      • try finding the page via quick search by entering "T" and "h" (everything is ok)
      • press "ö" (you will see that nothing changes on the UI, especially the ö in Thöggele is not bold), and the search is not narrowed

      Fix:

      • in the file (3.1, similar in 3.0)
        confluence-3.1-std/confluence/WEB-INF/classes/com/atlassian/confluence/setup/atlassian-bundled-plugins.zip, and inside there
        auiplugin-2.0.2.1.jar
      • patch the file
        js/atlassian/atlassian.js
        the function "escape" like this:
          339,341c339
        <                 return escape(string).replace(/%u\w{4}/gi, function (w) {
        <                     return unescape(w);
        <                 });
        ---
        >                 return encodeURIComponent(string);
        
      • re-package the jar and zip and place it in the original file location, and restart confluence, and try again. It works now

      Attachments

        Issue Links

          Activity

            People

              xtjhin Joshua Tjhin (Inactive)
              da3888a75811 Gerhard Müller
              Votes:
              6 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: