also do not strip leading / from mailboxMessage URL's

This commit is contained in:
alecf%netscape.com 1999-03-20 02:00:16 +00:00
parent 162c72ec5b
commit d28a69bcec

View File

@ -449,7 +449,8 @@ nsresult nsMailboxUrl::ParseURL(const nsString& aSpec, const nsIURL* aURL)
// with a drive letter not a slash. This problem show's itself when
// nested documents such as iframes within iframes are parsed.
if (PL_strcmp(m_protocol, "file") == 0) {
if ((PL_strcmp(m_protocol, "mailbox") == 0) ||
(PL_strcmp(m_protocol, "mailboxMessage") ==0)) {
if (*cp != '/') {
cp--;
}