[limb-svn] r6372 - 3.x/trunk/limb/web_spider/src
svn at limb-project.com
svn at limb-project.com
Wed Oct 3 22:20:39 MSD 2007
Author: svk
Date: 2007-10-03 22:20:39 +0400 (Wed, 03 Oct 2007)
New Revision: 6372
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6372
Modified:
3.x/trunk/limb/web_spider/src/lmbUriExtractor.class.php
Log:
uri parsing exceptions catching
Modified: 3.x/trunk/limb/web_spider/src/lmbUriExtractor.class.php
===================================================================
--- 3.x/trunk/limb/web_spider/src/lmbUriExtractor.class.php 2007-10-03 06:02:04 UTC (rev 6371)
+++ 3.x/trunk/limb/web_spider/src/lmbUriExtractor.class.php 2007-10-03 18:20:39 UTC (rev 6372)
@@ -38,8 +38,12 @@
$match_number = $this->_defineRegexMatchNumber();
for ($i=0; $i < sizeof($matches); $i++)
- $uris[] = new lmbUri($matches[$i][$match_number]);
-
+ {
+ try {
+ $uris[] = new lmbUri($matches[$i][$match_number]);
+ }
+ catch(lmbException $e) {};
+ }
return $uris;
}
}
More information about the limb-svn
mailing list