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:
@@ -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('/');
|
||||
|
||||
Reference in New Issue
Block a user