2612
2612
nsCOMPtr<nsINetUtil> netUtil = do_GetService(NS_NETUTIL_CONTRACTID);
2613
2613
NS_ENSURE_STATE(netUtil);
2615
2618
numReadIn = stream->Read(buf, len, &read);
2616
2619
netUtil->EscapeURL(nsCString(buf, read), nsINetUtil::ESCAPE_URL_QUERY,
2622
2627
// create an nsIUri out of the string
2623
2628
nsCOMPtr<nsIURI> mailUri;