Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366098 - [sites] Can't search in self hosted site
Summary: [sites] Can't search in self hosted site
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.4 M1   Edit
Assignee: Mark Macdonald CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-08 14:50 EST by Mark Macdonald CLA
Modified: 2011-12-08 15:59 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2011-12-08 14:50:07 EST
12/08 HEAD
1. Create a self-hosting site and log in to it
2. Type a query in the search box, press enter
3. You never see any search results. An error 500 is thrown by the server.

The URL the search tries to get is:
> /filesearch?sort=Path%20asc&rows=40&start=0&q=var
                       ^^^
 
In the server log, I see an exception like this being thrown:

> java.io.IOException: 
> Server returned HTTP response code: 500 for URL: http://localhost:8080/filesearch?sort=Path%2520asc&rows=40&start=0&q=var
                                                                                             ^^^^^
It seems to have turned %20 into %2520 by URL encoding the "%".