Fix for bug 66011, mailto: headers erroneously inserted into to: field. Patch by Kevin Duffy <kevin@buhbird.com> r=ducarroz@netscape.com sr=sspitzer@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@91231 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -226,7 +226,7 @@ nsresult nsMailtoUrl::ParseUrl()
|
||||
m_toPart.Assign(aPath);
|
||||
|
||||
PRInt32 startOfSearchPart = m_toPart.FindChar('?');
|
||||
if (startOfSearchPart > 0)
|
||||
if (startOfSearchPart >= 0)
|
||||
{
|
||||
// now parse out the search field...
|
||||
nsCAutoString searchPart;
|
||||
|
||||
Reference in New Issue
Block a user