Issue 1507: On import don't set default search provider to invalid
http://code.google.com/p/chromium/issues/detail?id=1507

Comment #2 by [EMAIL PROTECTED]:
Here's what the URL looks like: http://search.live.com/results.aspx?
q={searchTerms}&mkt={Language}&FORM=IE8SRC&src={referrer:source?} . The  
parser
(TemplateURLRef) thinks this is invalid because 'Language' is required and  
an unknown
parameter. The OSDD has a 'language' parameter, but it also says parameter  
names are case
sensitive. I was tempted to treat 'Language' as 'language' (which is  
known), but in looking
at a generated URL I think the 'Language' parameter is treated specially by  
IE (much like we
treat GOOGLE_BASE_URL and the like specially). For example, if I do a  
search in IE I get a
URL like:  
http://search.live.com/results.aspx?q=blah&mkt=*&FORM=IE8SRC&src=IE-SearchBox . 
 
The
Language parameter was replaced with '*', not en-US.

I think there's two things we should do her:

1. On import don't set the default search engine to a TemplateURL that  
doesn't support
replacement.
2. This is trickier. If the TemplateURL is to be the default see if already  
have one matching
the host/path and if so, use it. We already do this, but the reason this is  
failing here is
that the TemplateURLRef isn't valid. The parser likely need to change to  
deal with this
correctly.


Issue attribute updates:
        Summary: On import don't set default search provider to invalid

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to