bugMHonArc - Bugs: bug #55783, MHonArc URL parsing bug

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #55783: MHonArc URL parsing bug

Submitter:  Alexander Rosenberg <arosen66>
Submitted:  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
Operating System:  Linux Perl Version:  5.16.3
Component Version:  ? Fixed Release: 

Tue 26 Feb 2019 05:55:37 AM UTC, comment #1: 
Alexander Rosenberg <arosen66>
Tue 26 Feb 2019 05:29:57 AM UTC, original submission:  

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.

Alexander Rosenberg <arosen66>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arosen66
  • -email is unavailable- added by arosen66 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-26 arosen66 Carbon-Copy- Added ehood

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code