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:
stephend%netscape.com
2001-04-04 03:03:47 +00:00
parent 774201eaba
commit 96f508e78d

View File

@@ -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;