pulling non-qualified host-to-keyword server logic

git-svn-id: svn://10.0.0.236/trunk@52522 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
valeski%netscape.com
1999-11-02 06:18:01 +00:00
parent 630d8b77f1
commit 55265a0fbb
2 changed files with 4 additions and 0 deletions

View File

@@ -2202,6 +2202,7 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec,
convertFileToURL(urlStr, urlSpec);
rv = NS_NewURI(getter_AddRefs(uri), urlSpec, nsnull);
if (NS_FAILED(rv)) {
#if 0
// keyword failover
// we kick the following cases to the keyword server:
// * starts with a '?'
@@ -2215,6 +2216,7 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec,
rv = NS_NewURI(getter_AddRefs(uri), keywordSpec, nsnull);
}
#endif // 0
if (NS_FAILED(rv)) {
PRInt32 colon, fSlash = urlSpec.FindChar('/');