[pLog-svn] r6480 - plog/branches/lifetype-1.2/class/action

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sat May 24 15:19:22 EDT 2008


Author: jondaley
Date: 2008-05-24 15:19:22 -0400 (Sat, 24 May 2008)
New Revision: 6480

Modified:
   plog/branches/lifetype-1.2/class/action/viewalbumaction.class.php
Log:
deny html in name

Modified: plog/branches/lifetype-1.2/class/action/viewalbumaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/viewalbumaction.class.php	2008-05-24 19:19:11 UTC (rev 6479)
+++ plog/branches/lifetype-1.2/class/action/viewalbumaction.class.php	2008-05-24 19:19:22 UTC (rev 6480)
@@ -25,12 +25,11 @@
 			$this->BlogAction( $actionInfo, $request );
 			
 			$this->registerFieldValidator( "albumId", new IntegerValidator(), true );
-			$this->registerFieldValidator( "albumName", new StringValidator(), true );
+			$this->registerFieldValidator( "albumName", new StringValidator( false ), true );
 			
 			$this->setValidationErrorView( new ErrorView( $this->_blogInfo, "error_fetching_album" ));
         }
 
-        // checks that the articleId is valid
         function validate()
         {
 			if( !parent::validate())



More information about the pLog-svn mailing list