mailarchive
mailarchive copied to clipboard
Linkification broken for angle bracket enclosed URLs
owner:[email protected]
type_defect
| by [email protected]
Hello! I have spotted a problem with URL linkification in the mail archive: it looks like URLs are not linkified inside RFC 3986 angle bracket delimiters https://tools.ietf..org/html/rfc3986#appendix-C
Example message showing the problem:
https://mailarchive.ietf.org/arch/msg/dhcwg/pMkq7ZS98PsQMIKUSUuUYAFILHw/
In the quoted paragraph starting “1.” a URL is linkified, then in the immediately following text there is another URL which is not linkified.
Issue migrated from trac:3102 at 2022-03-03 14:07:56 +0000
@[email protected] commented
This looks to be a problem with the order of message text processing. First the text is escaped which results in this:
<https://mailarchive.ietf.org/arch/msg/dhcwg/5o2w-njCCxFJp1Omkiaal7KFRSw>
This foils the Django template filter urlize which otherwise would properly handle angle bracket enclosed URLs.
Need to correct the order of processing without breaking something else.
@[email protected] changed status from new
to closed
@[email protected] changed resolution from `` to fixed
@[email protected] commented
Fixed in 2fea89706339d320a236644326d4396064004ba6:
Fix linkification of angle brace enclosed urls. Fixes #3102
@[email protected] changed status from closed
to reopened
@[email protected] changed resolution from fixed
to ``
@[email protected] commented
The fix for this issue caused other issues with text/html MIME types and had to be backed out.
This message for example, https://mailarchive.ietf.org/arch/msg/ietf/qv-H-b8zNQZAiq2YGD9xs83DjBo/, was displayed escaped. "
@[email protected] changed _comment0 which not transferred by tractive