Description of problem: When entering : or ; in search fields, the search is cut short, and in some cases unexpected navigation behaviour is caused. Version-Release number of selected component (if applicable): 1.6-alpha-1 How reproducible: Always Steps to Reproduce: 1.Sign in and navigate to the project-wide search page of the editor 2.Enter "test; search" in the search field and press Enter 3.Enter "example;view:doc" in the search field and press Enter Actual results: 2.Search text is replaced with "test" and a search results for "test" are returned (if any exist) 3.Page changes to another view Expected results: Search text is not cut off regardless which characters are entered. Navigation is never influenced by search text. Additional info:
This was caused by lack of escaping of ; and : which are used to separate different bookmarkable components such as current view, current document and current search text in the URL. These have now been properly escaped. See https://github.com/zanata/zanata/commit/dde6a6263cb7041ebe9b9aa1059ec3bb1b6d5cc3
verified in Zanata version 1.6.0-alpha-3-SNAPSHOT (20120510-0019).