Opened 3 years ago

Closed 3 years ago

#1791 closed New feature (fixed)

HTML Purifier

Reported by: vipsoft Owned by: vipsoft
Priority: normal Milestone: Piwik 1.1
Component: Core Keywords:
Cc: Sensitive: no


Add library and some helper classes.

Change History (4)

comment:1 Changed 3 years ago by matt (mattab)

  • Milestone changed from 1.1 - Piwik 1.1 to 1.2 - Piwik 1.2

I'd like to discuss before adding this library, as it seems heavy weight. Maybe a white list would be better (ie. trust content from, ?).

comment:2 Changed 3 years ago by vipsoft (robocoder)

In terms of size: HTML Purifier 4.2.0 Lite would add 350K to the size of the .zip file; unzipped it's an extra 1.9 MB.

comment:3 Changed 3 years ago by vipsoft (robocoder)

Thought: add the piwik helper classes but use a mock object if htmlpurifier isn't installed

comment:4 Changed 3 years ago by vipsoft (robocoder)

  • Milestone changed from 1.2 - Piwik 1.2 to 1.1 - Piwik 1.1
  • Resolution set to fixed
  • Status changed from new to closed

In [3562], add stub support for HTMLPurifier library

Note: See TracTickets for help on using tickets.