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

Bug 343666

Summary: redirect from eclipse.org/search/search.cgi to eclipse.org/projects/searchpage.php encodes once too many
Product: Community Reporter: Chris Goldthorpe <cgold>
Component: WebsiteAssignee: phoenix.ui <phoenix.ui-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: camle, cgold, kennoji, kitlo, pwebster, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 343636    

Description Chris Goldthorpe CLA 2011-04-22 15:55:41 EDT
When the help system link to search eclipse.org is clicked with a query string which is a character that requires encoding in a URI the search fails because during a redirect the URI is encoded a second time:

If the search string is "À" this href is opened

http://www.eclipse.org/search/search.cgi?q=%C3%80&ul=&ps=20&m=all

which is redirected to this page

http://www.eclipse.org/projects/searchpage.php?q=%25C3%2580&ul=&ps=20&m=all

The URI is getting encoded a second time causing the failure to find a search
result, the redirect should be going to 

http://www.eclipse.org/projects/searchpage.php?q=%C3%80&ul=&ps=20&m=all
Comment 1 Chris Goldthorpe CLA 2011-04-29 13:52:07 EDT
*** Bug 343636 has been marked as a duplicate of this bug. ***
Comment 2 Eclipse Webmaster CLA 2011-05-10 13:46:13 EDT
I've updated the mechanism so the re-write will leave the query string alone.  It seems to work for the example URL you gave.

Can you confirm it's working as you expect?

-M.
Comment 3 Chris Goldthorpe CLA 2011-05-10 13:56:47 EDT
Yes, that is working, thanks.
Comment 4 Eclipse Webmaster CLA 2011-05-10 13:59:05 EDT
Great.

-M.
Comment 5 Kentaroh Noji CLA 2011-05-10 20:55:32 EDT
I verified that the fix is working in Eclipse help, with DBCS characters. Thank you.
Comment 6 Chris Goldthorpe CLA 2011-05-11 12:22:35 EDT
Setting status to VERIFIED based on Comment 5 .