← Back to team overview

mahara-contributors team mailing list archive

[Bug 1364227] Re: In clean_html, skip html purifier if no tags are found

 

** Changed in: mahara
    Milestone: 15.04.0 => 15.04.1

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1364227

Title:
  In clean_html, skip html purifier if no tags are found

Status in Mahara ePortfolio:
  Won't Fix

Bug description:
  In clean_html, check for a less than sign in the text at the start of
  execution. If there isn't one, the text can't have any HTML tags and
  can be returned after escaping HTML special characters. This avoids
  the execution time and memory requirements (at least potentially) of
  the HTML purifier library.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1364227/+subscriptions


References