mailarchive icon indicating copy to clipboard operation
mailarchive copied to clipboard

Linkification broken for angle bracket enclosed URLs

Open ietf-svn-bot opened this issue 4 years ago • 8 comments

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

ietf-svn-bot avatar Oct 15 '20 22:10 ietf-svn-bot

@[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.

ietf-svn-bot avatar Oct 26 '20 22:10 ietf-svn-bot

@[email protected] changed status from new to closed

ietf-svn-bot avatar Oct 27 '20 16:10 ietf-svn-bot

@[email protected] changed resolution from `` to fixed

ietf-svn-bot avatar Oct 27 '20 16:10 ietf-svn-bot

@[email protected] commented


Fixed in 2fea89706339d320a236644326d4396064004ba6:

Fix linkification of angle brace enclosed urls. Fixes #3102

ietf-svn-bot avatar Oct 27 '20 16:10 ietf-svn-bot

@[email protected] changed status from closed to reopened

ietf-svn-bot avatar Nov 19 '20 01:11 ietf-svn-bot

@[email protected] changed resolution from fixed to ``

ietf-svn-bot avatar Nov 19 '20 01:11 ietf-svn-bot

@[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. "

..."

ietf-svn-bot avatar Nov 19 '20 01:11 ietf-svn-bot

@[email protected] changed _comment0 which not transferred by tractive

ietf-svn-bot avatar Nov 19 '20 01:11 ietf-svn-bot