mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-13 02:01:05 +01:00
8f797be836
- can be used via html class like: $clean_html = html::purify($html); - using it now in eTemplate to remove malicious code from html: a) when displaying "formatted text" b) when "formatted text" get's input by the user
18 lines
282 B
PHP
Executable File
18 lines
282 B
PHP
Executable File
<?php
|
|
|
|
abstract class HTMLPurifier_AttrDef_URI_Email extends HTMLPurifier_AttrDef
|
|
{
|
|
|
|
/**
|
|
* Unpacks a mailbox into its display-name and address
|
|
*/
|
|
function unpack($string) {
|
|
// needs to be implemented
|
|
}
|
|
|
|
}
|
|
|
|
// sub-implementations
|
|
|
|
// vim: et sw=4 sts=4
|