Open Bug 1527462 Opened 6 years ago Updated 4 months ago

Backout temporary fix allowing Thunderbird to use % in URLs from bug 1527236, rev. aa39bdeb511f - Make Thunderbird internal URL escaping standards compliant

Categories

(Core :: Networking, enhancement, P5)

enhancement

Tracking

()

Tracking Status
firefox67 --- affected

People

(Reporter: jorgk-bmo, Unassigned)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 obsolete file)

In bug 1527236 a patch was landed that allowed TB to use % in its mailnews: URLs.

Once TB has reworked that area, the patch can be backed out:
https://hg.mozilla.org/integration/mozilla-inbound/rev/aa39bdeb511f
https://hg.mozilla.org/mozilla-central/rev/aa39bdeb511f

Assignee: nobody → jorgk
Priority: -- → P5
Whiteboard: [necko-triaged]

Also see bug 1527236 comment #27 for some comments.

Assignee: jorgk → nobody
Severity: normal → S3
Attachment #9386928 - Attachment is obsolete: true

The "temporary" fix is problematic when pushing the check for WHATWG forbidden domain code point deeper into the dependencies (all the way to the idna crate).

mkmelin, how feasible would it be to implement option 2 or 3 from bug 1527236 comment #27?

Flags: needinfo?(mkmelin+mozilla)

It should be feasible, but does require a fair bit of work.
We also do an annoying non-standards compliant re-escaping on the username. Should fix that at the same time: https://searchfox.org/comm-central/rev/0a3cadbb953e3caeda7f2d4a9b349a60d376ba25/mailnews/imap/src/nsImapUtils.cpp#65

Flags: needinfo?(mkmelin+mozilla)
Summary: Backout temporary fix allowing Thunderbird to use % in URLs from bug 1527236, rev. aa39bdeb511f → Backout temporary fix allowing Thunderbird to use % in URLs from bug 1527236, rev. aa39bdeb511f - Make Thunderbird internal URL escaping standards compliant

(In reply to Magnus Melin [:mkmelin] from comment #4)

It should be feasible, but does require a fair bit of work.

Thanks. I interpret that as too much work to happen before bug 1889536. In bug 1889536, I'm now in the process of retaining this quirk not for all URLs in Thunderbird and Suite builds but for mailnews: URLs in any build. Are there more schemes that need this special case?

For future reference, my current expectation is that the relevant code will move from nsStandardURL.cpp to netwerk/base/idna_glue/src/lib.rs.

Is this a duplicate of bug 1908033?

Flags: needinfo?(mkmelin+mozilla)

Kind of but I think that just moved where the workaround is.
I think the root cause is still there, no?

Flags: needinfo?(mkmelin+mozilla) → needinfo?(geoff)
See Also: → 1908033

There is still a workaround in mozilla-central, yes. We have got a plan to remove the need for it altogether, hopefully sometime in the next ~12 months. (I know comments like that often age really badly, but we can hope this one doesn't!)

Flags: needinfo?(geoff)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: