Closed
Bug 2070074
Opened 2 months ago
Closed 2 months ago
nsMailboxUrl blocks some mutations of mailbox-message: URIs on Windows
Categories
(MailNews Core :: General, defect)
MailNews Core
General
Tracking
(Not tracked)
RESOLVED
FIXED
157 Branch
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(1 external file)
A mailbox-message: can be mutated on non-Windows platforms, e.g. changing the query parameters. This isn't possible on Windows, because in nsMailboxUrl::ParseUrl it tries to create a file URL using the path part of the URL, and that's not in a Windows format, so it fails.
This is breaking some things, e.g. creating an attachment URL for a message saved as HTML, but fortunately these things seem to be very rare. (Never mind that an attachment URL in a saved HTML file is absurd, that's not the point.)
| Assignee | ||
Comment 1•2 months ago
|
||
Updated•2 months ago
|
Assignee: nobody → geoff
Status: NEW → ASSIGNED
| Assignee | ||
Updated•2 months ago
|
Target Milestone: --- → 157 Branch
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/a390ad0149f6
Stop attempting to convert the file part of a mailbox-message URL to a file path. r=thunderbird-reviewers,babolivier
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•