HTML Tag Can't Be Read

You have feature Requests, or some Bugs found within the port of PHPIDS WPIDS? Tell them here.

HTML Tag Can't Be Read

Postby Boris on Wed Nov 28, 2007 12:16 pm

Philnate,

Thanks alot for your wpids, you're really a hard-coder ;)

Now i've another problem: all html tags/attribute like i, strike, strong, href, strong, etc.. still appear (ONLY) on my comment area (NOT on post/article area) and these html tags can't be convert to usual html output. But it resolved by giving the comment on one line in wpids.php file =>
Code: Select all
/* add_filter('preprocess_comment', 'wpld_filter_html'); */


So my question, is that way can decrease the security feature of wpids? ..and can you tell me another method without do
Code: Select all
/* add_filter('preprocess_comment', 'wpld_filter_html'); */
so that all html tags on comment area can be convert to usual html output?
Boris
 

Re: HTML Tag Can't Be Read

Postby Philnate on Thu Nov 29, 2007 8:15 am

Currently there's no other way to get HTML Tags within comments, any way the loss of protection should be minimal. We're working on a newer version which will be out soon, who will use some other application to keep Posts and Comments clean and safe. So upto the next bigger release you can use it, after the next version is released which contains HTMLPurifier you should update as this will allow it you to post HTML within your Comments, and it's granted that these HTML is mostly save(as you know 100% safety is never given, except you avoid something totally).
Philnate
Site Admin
 
Posts: 78
Joined: Sun Jun 12, 2005 7:54 pm

Re: HTML Tag Can't Be Read

Postby Boris on Thu Nov 29, 2007 2:41 pm

Philnate, thanks a million for your reply, and i'm still always waiting the next bigger release of wpids. Btw, i'm currently using HTML Purifier, but that plugin still can't post HTML tags within my Comments !

Thanks
Boris
 

Re: HTML Tag Can't Be Read

Postby Philnate on Wed Jul 15, 2009 4:42 am

Sorry Boris, but I can't really follow you. You're using HTMLPurifier within your WordPress install? In order to be able to post HTML comments you'll need to do the steps you've applied before by deactivating some parts of WPIDS. Could you give me maybe some example of what HTML comment gets blocked?
Last bumped by Anonymous on Wed Jul 15, 2009 4:42 am.
Philnate
Site Admin
 
Posts: 78
Joined: Sun Jun 12, 2005 7:54 pm


Return to WPIDS

Who is online

Users browsing this forum: No registered users and 1 guest

cron