Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369811

Summary: [sites] Search API breaks on special characters in self-hosted site
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ServerAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: john.arthorne
Version: 0.4   
Target Milestone: 0.4 M2   
Hardware: PC   
OS: All   
Whiteboard:

Description Mark Macdonald CLA 2012-01-26 09:47:18 EST
Orion I20120124-2230

1. Create and launch a selfhosting site.
2. Log in to your selfhosting site.
3. Press 't' to open the "Find Files Named" dialog
4. Type 'git-repository' into the input field.
5. The server returns an error:

{"HttpCode":400,
 "DetailedMessage":"Illegal character in query at index 28: ?rows=100&start=0&q=Name:git\\-repository*",
 "Message":"Bogus query rows=100&start=0&q=Name:git\\-repository*",
 "Severity":"Error",
 "Code":0
}
Comment 2 Mark Macdonald CLA 2012-02-06 10:25:27 EST
Reverting commit in comment 1 -- this may be causing login issues.

http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=02c6a17b34c32e9f4eec843b3d2e55890e608614