HTML Purifier 2.0.0 released
Moderator: General Moderators
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
- ReverendDexter
- Forum Contributor
- Posts: 193
- Joined: Tue May 29, 2007 1:26 pm
- Location: Chico, CA
FYI: I got an warning on your demo page with the given demo links:
Warning: Cannot set undefined directive Core.AutoParagraph to value in /home/.mair/ezyang/htmlpurifier.org/live/library/HTMLPurifier/Config.php on line 185
This was using Opera 9.21 over XP.
It still works and shows the purified code and all, it just has that nasty warning sitting on top.
Warning: Cannot set undefined directive Core.AutoParagraph to value in /home/.mair/ezyang/htmlpurifier.org/live/library/HTMLPurifier/Config.php on line 185
This was using Opera 9.21 over XP.
It still works and shows the purified code and all, it just has that nasty warning sitting on top.
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
Fixed.
It's actually going to be a new feature for HTML Purifier: smart auto-paragraphing. Google's always done it wrong (things between list items, for instance, would get totally invalid paragraph tags) so I finally sat down and implemented it for HTML Purifier. It won't auto-paragraph things in <pre> or <ul> tags, and it's totally semantic.
It's actually going to be a new feature for HTML Purifier: smart auto-paragraphing. Google's always done it wrong (things between list items, for instance, would get totally invalid paragraph tags) so I finally sat down and implemented it for HTML Purifier. It won't auto-paragraph things in <pre> or <ul> tags, and it's totally semantic.
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
I hate to be too release happy, but it looks like I'm going to be wrapping up the 2.0.1 release soon. Some of it is usability fixes: more friendly filesystem permission checks and a few edge-case buggy behavior fixes (mostly to do with allowing script tags, haha), but then there's a big batch of experimental beta features that I'm going to also be letting out with this supposedly minor version increment. Mainly auto-paragraphing, linkification, error collection and a spiffy new demo system.
It probably isn't healthy to be stashing so many "beta" features into a minor version number increment, but the way I look at it, no one has to enable these features.
Oh, and on a more serious note, first ever security vulnerability. It's not in the main application code though. Has to do with unfiltered print_r output. The conscientious can delete smoketests/configForm.php if you're really concerned about it, but it's reflected XSS so it's not an immediate threat.
It probably isn't healthy to be stashing so many "beta" features into a minor version number increment, but the way I look at it, no one has to enable these features.
Oh, and on a more serious note, first ever security vulnerability. It's not in the main application code though. Has to do with unfiltered print_r output. The conscientious can delete smoketests/configForm.php if you're really concerned about it, but it's reflected XSS so it's not an immediate threat.
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
Yep, there's an article about it here: http://www.php-mag.net/magphpde/magphpd ... eid,5.html
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
My article comes up on the second page of google for "html purifier"
http://www.google.com/search?q=html+purifier&start=10
#1 for HTML Purifier v2.0.0 http://www.google.com/search?q=html+purifier+v2.0.0
#1 for HTML Purifier v2.0.0 http://www.google.com/search?q=html+purifier+v2.0.0
Last edited by Luke on Wed Jun 27, 2007 1:56 pm, edited 1 time in total.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA