[pLog-svn] r6962 - plog/branches/lifetype-1.2/class/net
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Mon Jan 18 20:09:17 EST 2010
Author: jondaley
Date: 2010-01-18 20:09:17 -0500 (Mon, 18 Jan 2010)
New Revision: 6962
Modified:
plog/branches/lifetype-1.2/class/net/customurlhandler.class.php
Log:
return false if we couldn't parse the URL properly
Modified: plog/branches/lifetype-1.2/class/net/customurlhandler.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/customurlhandler.class.php 2010-01-19 01:09:03 UTC (rev 6961)
+++ plog/branches/lifetype-1.2/class/net/customurlhandler.class.php 2010-01-19 01:09:17 UTC (rev 6962)
@@ -133,13 +133,13 @@
$this->_format = $m->identify();
$this->_params = $m->getParameters();
-
// if it didn't work out the first time, let's try with an additional url format
if( !$this->_fillRequestParameters()) {
$m = new LinkFormatMatcher( $requestUri, $this->_fallback );
$this->_format = $m->identify();
$this->_params = $m->getParameters();
- $this->_fillRequestParameters();
+ if(!$this->_fillRequestParameters())
+ return false;
}
// put the parameter back as a parameter
More information about the pLog-svn
mailing list