зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 229668 (Hang after typing keywords into address bar for "I'm feeling lucky" google search). Patch by jtalkington@users.sourceforge.net, r=jshin, sr=peterv.
This commit is contained in:
Родитель
46ec89af16
Коммит
caf19d33eb
|
@ -862,8 +862,11 @@ nsresult nsWebShell::EndPageLoad(nsIWebProgress *aProgress,
|
|||
|
||||
if(keywordsEnabled && (-1 == dotLoc)) {
|
||||
// only send non-qualified hosts to the keyword server
|
||||
nsCAutoString keywordSpec("keyword:");
|
||||
keywordSpec += host;
|
||||
|
||||
NS_NewURI(getter_AddRefs(newURI),
|
||||
NS_LITERAL_CSTRING("keyword:") + host, nsnull);
|
||||
keywordSpec, nsnull);
|
||||
} // end keywordsEnabled
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче