[pLog-svn] r5184 - plog/branches/lifetype-1.2/class/view/admin

Oscar Renalias oscar at renalias.net
Sun Mar 25 12:43:23 EDT 2007


I also noticed this bug but this might not be enough. Did you check  
what's happening with other characters such as ">", "<", "&lt;",  
"&gt;" and so on?

On 25 Mar 2007, at 19:42, mark at devel.lifetype.net wrote:

> Author: mark
> Date: 2007-03-25 12:42:49 -0400 (Sun, 25 Mar 2007)
> New Revision: 5184
>
> Modified:
>    plog/branches/lifetype-1.2/class/view/admin/ 
> admineditpostview.class.php
> Log:
> Fixed a bug list here: http://bugs.lifetype.net/view.php?id=1235
>
> Modified: plog/branches/lifetype-1.2/class/view/admin/ 
> admineditpostview.class.php
> ===================================================================
> --- plog/branches/lifetype-1.2/class/view/admin/ 
> admineditpostview.class.php	2007-03-25 16:31:45 UTC (rev 5183)
> +++ plog/branches/lifetype-1.2/class/view/admin/ 
> admineditpostview.class.php	2007-03-25 16:42:49 UTC (rev 5184)
> @@ -50,7 +50,7 @@
>  	
>  	            // set information about the post itself into the view
>  	            $this->setValue( "postTopic", $this->_article- 
> >getTopic());
> -                $this->setValue( "postText", $this->_article- 
> >getText( false ));
> +                $this->setValue( "postText", str_replace('&',  
> '&amp;', $this->_article->getText( false )));
>  	            $this->setValue( "postSlug", $this->_article- 
> >getPostSlug());
>  	            $this->setValue( "postId", $this->_article->getId());
>  	            if( $this->_article->getCommentsEnabled())
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list