Particular characters in Quick search string cause System Error

XMLWordPrintable

      Hello All,

      Calling http://host/json/contentnamesearch.action?query=ü from a Microsoft Windows machine (using the Character Map tool to select Unicode hex: U+00FC for the ü character) causes:

      java.util.NoSuchElementException
      	at java.util.LinkedList.getLast(LinkedList.java:122)
      	at com.atlassian.confluence.search.contentnames.lucene.LuceneQueryTokenizer.tokenize(LuceneQueryTokenizer.java:49)
      	at com.atlassian.confluence.search.actions.ContentNameSearchAction.execute(ContentNameSearchAction.java:100)
      	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
      	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      

      The problem doesn't occur on Firefox for Apple OS X but does on the Windows version.

      Cutting and pasting from Firefox for OS X to the Windows Virtual Machine carries over this URL: http://host/json/contentnamesearch.action?query=%C3%BC which works correctly.
      The opposite - from Windows to OS X - results in the following URL: http://host/json/contentnamesearch.action?query=%FC which causes the exception.

      Best Regards,
      Edoardo

              Assignee:
              Steve Haffenden (Inactive)
              Reporter:
              Edoardo Causarano [Atlassian]
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: