Commit Graph

4 Commits

Author SHA1 Message Date
Ralf Becker
6339b5d1c8 no need to run expensive mb_substr 3 times 2011-06-08 10:42:28 +00:00
Klaus Leithoff
0255244b30 extending (trunk) patch rev32909/34417 (chopped off urls when URI contains umlauts AND mbstring.func_overload is activated): using rawurlencode instead of '%' . sprintf('%02X', ); as ord() only returns the int for the first character in a given string, thus crippling multibyte chars 2011-06-08 10:16:31 +00:00
Klaus Leithoff
99861c8774 * core: myStylite Ticket#987: fixing a problem regarding chopped off urls when URI in question contains umlauts AND mbstring.func_overload is activated 2010-11-09 15:23:33 +00:00
Ralf Becker
8f797be836 Added HTMLPurifier (http://htmlpurifier.org/) Version 3.3.0
- 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
2009-05-19 17:32:06 +00:00