Re: [fw-general] Zend_Filter_StripTags strips attributes even when told not to

2009-07-27 Thread J DeBord
Could magic_quotes_gpc affect the StripTags filter in relation to the allowed attributes? I do not have access to the server so I attempted to turn off magic-quotes in a php.ini file placed in my root directory, but doing this causes the following exception: *Message:* The PDO extension is

Re: [fw-general] Zend_Filter_StripTags strips attributes even when told not to

2009-07-15 Thread J DeBord
Thanks for the reply Matthew. I'm using 1.84 Still not working. After executing the code below (see form and controller code) and putting this into the textarea: p This is a onClick=foo.bar() href=http://foo.com/; title=Foo!linked text/a. /p The following is

Re: [fw-general] Zend_Filter_StripTags strips attributes even when told not to

2009-07-15 Thread J DeBord
To add: public function postnewAction() { $request = $this-getRequest(); if(!$request-isPost()) { $this-_helper-redirector('notauthorized', 'error'); } $form = $this-_getNewMessageForm(); if (!$form-isValid($request-getPost())) {

Re: [fw-general] Zend_Filter_StripTags strips attributes even when told not to

2009-07-15 Thread Matthew Weier O'Phinney
-- J DeBord jasdeb...@gmail.com wrote (on Wednesday, 15 July 2009, 08:13 AM +0200): Thanks for the reply Matthew. I'm using 1.84 Still not working. After executing the code below (see form and controller code) and putting this into the textarea: p            This is a onClick=foo.bar()

Re: [fw-general] Zend_Filter_StripTags strips attributes even when told not to

2009-07-15 Thread J DeBord
Thanks again Matthew. I just downloaded ZF from the trunk and I am 99% sure it is the only copy on the include path. From my bootstrap: define('LIBRARY_PATH', APPLICATION_PATH . '/../library'); define('APPLICATION_ENVIRONMENT', 'development'); set_include_path(LIBRARY_PATH); In fact the

[fw-general] Zend_Filter_StripTags strips attributes even when told not to

2009-07-14 Thread J DeBord
I've tried to make StripTags leave the href attribute, but it strips it out. I can't find the right syntax or it just doesn't work. The a tag is left intact, every other tag is stripped, but the href and title get stripped as well. I've also used the fluid interface when adding the Textarea, but

Re: [fw-general] Zend_Filter_StripTags strips attributes even when told not to

2009-07-14 Thread Matthew Weier O'Phinney
-- J DeBord jasdeb...@gmail.com wrote (on Tuesday, 14 July 2009, 08:29 PM +0200): I've tried to make StripTags leave the href attribute, but it strips it out. I can't find the right syntax or it just doesn't work. The a tag is left intact, every other tag is stripped, but the href and title get