Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
None
-
3.0.2
Description
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