diff --git a/mailnews/compose/src/nsMsgCompUtils.cpp b/mailnews/compose/src/nsMsgCompUtils.cpp index 36498e1645c..3cda4582ed3 100644 --- a/mailnews/compose/src/nsMsgCompUtils.cpp +++ b/mailnews/compose/src/nsMsgCompUtils.cpp @@ -1706,7 +1706,7 @@ nsMsgNewURL(nsIURI** aInstancePtrResult, const char * aSpec) nsCOMPtr pNetService(do_GetService(kIOServiceCID, &rv)); if (NS_SUCCEEDED(rv) && pNetService) { - if (PL_strstr(aSpec, "://") == nsnull) + if (PL_strstr(aSpec, "://") == nsnull && strncmp(aSpec, "data:", 5)) { //XXXjag Temporary fix for bug 139362 until the real problem(bug 70083) get fixed nsCAutoString uri(NS_LITERAL_CSTRING("http://") + nsDependentCString(aSpec));