Open Bug 1565887 Opened 7 years ago Updated 3 years ago

Fix IMAP's and NNTP's {Get|Set}OriginalURI()

Categories

(MailNews Core :: General, defect)

Unspecified
All
defect

Tracking

(Not tracked)

People

(Reporter: jorgk-bmo, Unassigned)

Details

(Whiteboard: [risky?])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1564094 +++

In bug 1564094 we detected that IMAP's and NNTP's {Get|Set}OriginalURI() don't appear to be right.

That caused trouble for "view source " since the set call received a view-source:imap URI, but the get call returned an imap: URI. See 1564094 comment #19 for debugging output, there's also a debug patch in that bug for get that debugging output.

Something like this would be correct:
https://searchfox.org/comm-central/rev/e9439ba2501591b8d9890bd6973d74bd3c06da3f/mailnews/base/util/nsMsgProtocol.cpp#505-512

I'll attach a patch which fixes IMAP, but Boris thinks that this is very risky, since it could regress bug 193317 or bug 1312314.

Further reading:
Bug 1564094 comment #11, 2nd dot point; bug 1564094 comment #12
Bug 1312314 comment #32

So this is a version 70 regression?

Whiteboard: [risky?]

No regression, has always been wrong.

OS: Unspecified → All
Version: unspecified → Trunk
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: