Bug 278341 - [mozTXTToHTMLConv] A colon (:) after a URL in a message is recognized as part of the URL. r=BenB

This commit is contained in:
aceman 2011-11-17 11:18:07 +00:00
parent b710b34204
commit 9a51b50c97

View File

@ -358,7 +358,7 @@ mozTXTToHTMLConv::FindURLEnd(const PRUnichar * aInString, PRInt32 aInStringLengt
while (--i > pos && (
aInString[i] == '.' || aInString[i] == ',' || aInString[i] == ';' ||
aInString[i] == '!' || aInString[i] == '?' || aInString[i] == '-' ||
aInString[i] == '\''
aInString[i] == ':' || aInString[i] == '\''
))
;
if (i > pos)