URL:
<https://savannah.nongnu.org/bugs/?55783>
Summary: MHonArc URL parsing bug
Project: MHonArc
Submitted by: arosen66
Submitted on: Tue 26 Feb 2019 05:29:57 AM UTC
Category: MIME Filter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Operating System: Linux
Perl Version: 5.16.3
Component Version: ?
Fixed Release:
_______________________________________________________
Details:
We discovered a bug that results in malformed HTML due to the text/html filter
(mhtxthtml.pl) not handling certain URLs properly. The filter incorrectly
strips URLs that are in the query parameters of other URLs, such as with
Outlook Safelinks URL rewriting.
The regex wrongly identifies a 'url' get parameter as an HTML attribute and
then double quotes are inserted around it.
The only workaround I currently have is a hack, changing the line ~378 to
read:
/join("",$1,'',&resolve_cid($onlycid, $2, $atdir),'')
Rather than:
/join("",$1,'"',&resolve_cid($onlycid, $2, $atdir),'"')
(ie, remove the double quotes)
However, there is probably a better way of fixing this.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?55783>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV