mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 03:24:26 +00:00
also do not strip leading / from mailboxMessage URL's
This commit is contained in:
parent
162c72ec5b
commit
d28a69bcec
@ -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--;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user