Fix for bug 10028. We handle mixed case mailto urls properly now.
This commit is contained in:
@@ -2000,7 +2000,7 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec,
|
||||
|
||||
//Take care of mailto: url
|
||||
nsIWebShell * root= nsnull;
|
||||
PRInt32 index = urlSpec.Find("mailto:");
|
||||
PRInt32 index = urlSpec.Find("mailto:", PR_TRUE);
|
||||
PRBool isMail= PR_FALSE, isBrowser = PR_FALSE;
|
||||
if (index == 0) {
|
||||
isMail = PR_TRUE;
|
||||
|
||||
Reference in New Issue
Block a user