зеркало из https://github.com/mozilla/pjs.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:
Родитель
474f7d6ee0
Коммит
6ca5589875
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче