mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #20440
[Bug 1364227] [NEW] In clean_html, skip html purifier if no tags are found
Public bug reported:
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.
** Affects: mahara
Importance: Undecided
Assignee: Nigel Cunningham (nigelc-g)
Status: In Progress
** Changed in: mahara
Status: New => In Progress
** Changed in: mahara
Assignee: (unassigned) => Nigel Cunningham (nigelc-g)
--
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:
In Progress
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
Follow ups
-
[Bug 1364227] Re: In clean_html, skip html purifier if no tags are found
From: Robert Lyon, 2015-04-17
-
[Bug 1364227] Re: In clean_html, skip html purifier if no tags are found
From: Robert Lyon, 2015-04-17
-
[Bug 1364227] Re: In clean_html, skip html purifier if no tags are found
From: Aaron Wells, 2015-03-04
-
[Bug 1364227] Re: In clean_html, skip html purifier if no tags are found
From: Robert Lyon, 2015-02-16
-
[Bug 1364227] Re: In clean_html, skip html purifier if no tags are found
From: Kristina Hoeppner, 2014-11-02
-
[Bug 1364227] Re: In clean_html, skip html purifier if no tags are found
From: Nigel Cunningham, 2014-09-15
-
[Bug 1364227] Re: In clean_html, skip html purifier if no tags are found
From: Kristina Hoeppner, 2014-09-02
-
[Bug 1364227] [NEW] In clean_html, skip html purifier if no tags are found
From: Nigel Cunningham, 2014-09-02
References