bbcode
Zend Framework Input/Output XSS Filtering: Strip Tags, Textile, BBCode
In my CMS application, administration users can add HTML content via a WYSIWYG editor that gets filtered by HTMLPurifier.I am no开发者_开发知识库w wanting to add a message board functionality. I am pl[详细]
2023-04-12 16:57 分类:问答TinyMCE and BBCode plugin
I am trying to implement tinyMCE\'s BBCode plugin but not being able to make it work. This is the init code:[详细]
2023-04-12 14:59 分类:问答Problems with strtok()
I have been wrestling with this for a while. I know it\'s a lot of code to look at, but I have no idea where the problem lies and can\'t seem to narrow it down. I will bounty it.[详细]
2023-04-12 07:19 分类:问答Need regex to grep quote tags
I need regex for preg_replace to change: [quote](content)[/quote] into <blockquote>(content)</blockquote>[详细]
2023-04-10 14:12 分类:问答parsing url in bbcode
Hi I\'m developing a custom forum on my website. I would like to convert the urls starting with : http://*.domain.com/photos/{username}/{photo_id} (I should get开发者_JAVA技巧 both username and photo_[详细]
2023-04-10 05:22 分类:问答php regex [b] to <b>
\"\'\\[b\\](.*?)\\[/b\\]\'is\", Is my current RegEx working. But I want to change the [] to be <> instead. But it doesn\'t开发者_StackOverflow社区 work... What more then just the [] do I need to[详细]
2023-04-08 01:56 分类:问答Perl how to strip nested bbcode tags?
Here is the code: use perl5i::2; my $string = \'[size 9]Some larger text. [i]Italic[/i] here.[/size]And [b]bold[/b] text.\';[详细]
2023-04-07 16:16 分类:问答Inserting iframe into mysql db
I am using codeigniter and at the moment I have a bit of the problem. When I insert iframe (from the youtube) into db in the view file I get row code like this:[详细]
2023-04-06 15:40 分类:问答How to close all opening square bracket tags that aren't closed?
Ok, so I have a message, can a regular expression be used to determine if there are square brackets within it, and if so, determine if they aren\'t closed.[详细]
2023-04-05 15:53 分类:问答Using BBCodes...Parse HTML or remove it altogether? (XSS/PHP)
I\'m creating a开发者_JAVA技巧 mini-forum in PHP and I want to allow user posts with limited text formatting and embedding images, but I want to do it securely (XSS-wise) and I was wondering what\'s t[详细]
2023-04-05 02:36 分类:问答