| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  | <?php | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | if (isset($_SERVER) && array_key_exists('REQUEST_METHOD', $_SERVER)) { | 
					
						
							|  |  |  |     print "This script must be run from the command line\n"; | 
					
						
							|  |  |  |     exit(); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); | 
					
						
							| 
									
										
										
										
											2013-09-28 15:20:10 +02:00
										 |  |  | define('GNUSOCIAL', true); | 
					
						
							|  |  |  | define('STATUSNET', true);  // compatibility
 | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | require_once INSTALLDIR . '/lib/common.php'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class URLDetectionTest extends PHPUnit_Framework_TestCase | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * @dataProvider provider | 
					
						
							|  |  |  |      * | 
					
						
							|  |  |  |      */ | 
					
						
							|  |  |  |     public function testProduction($content, $expected) | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         $rendered = common_render_text($content); | 
					
						
							| 
									
										
										
										
											2011-02-25 15:38:24 -08:00
										 |  |  |         // hack!
 | 
					
						
							|  |  |  |         $rendered = preg_replace('/id="attachment-\d+"/', 'id="attachment-XXX"', $rendered); | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |         $this->assertEquals($expected, $rendered); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     static public function provider() | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         return array( | 
					
						
							| 
									
										
										
										
											2009-09-09 16:57:11 -04:00
										 |  |  |                      array('not a link :: no way', | 
					
						
							|  |  |  |                            'not a link :: no way'), | 
					
						
							| 
									
										
										
										
											2009-09-10 21:19:38 -04:00
										 |  |  |                      array('link http://www.somesite.com/xyz/35637563@N00/52803365/ link', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'link <a href="http://www.somesite.com/xyz/35637563@N00/52803365/" title="http://www.somesite.com/xyz/35637563@N00/52803365/" rel="nofollow external">http://www.somesite.com/xyz/35637563@N00/52803365/</a> link'), | 
					
						
							| 
									
										
										
										
											2009-08-25 14:12:31 -04:00
										 |  |  |                      array('http://127.0.0.1', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/" title="http://127.0.0.1/" rel="nofollow external">http://127.0.0.1</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('127.0.0.1', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/" title="http://127.0.0.1/" rel="nofollow external">127.0.0.1</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 14:12:31 -04:00
										 |  |  |                      array('127.0.0.1:99', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1:99/" title="http://127.0.0.1:99/" rel="nofollow external">127.0.0.1:99</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-31 10:33:37 -04:00
										 |  |  |                      array('127.0.0.1/Name:test.php', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/Name:test.php" title="http://127.0.0.1/Name:test.php" rel="nofollow external">127.0.0.1/Name:test.php</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-28 16:18:05 -04:00
										 |  |  |                      array('127.0.0.1/~test', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/~test" title="http://127.0.0.1/~test" rel="nofollow external">127.0.0.1/~test</a>'), | 
					
						
							| 
									
										
										
										
											2009-09-04 11:30:29 -04:00
										 |  |  |                      array('127.0.0.1/+test', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/+test" title="http://127.0.0.1/+test" rel="nofollow external">127.0.0.1/+test</a>'), | 
					
						
							| 
									
										
										
										
											2009-09-04 11:30:29 -04:00
										 |  |  |                      array('127.0.0.1/$test', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/$test" title="http://127.0.0.1/$test" rel="nofollow external">127.0.0.1/$test</a>'), | 
					
						
							| 
									
										
										
										
											2009-09-04 11:30:29 -04:00
										 |  |  |                      array('127.0.0.1/\'test', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/\'test" title="http://127.0.0.1/\'test" rel="nofollow external">127.0.0.1/\'test</a>'), | 
					
						
							| 
									
										
										
										
											2009-09-04 11:30:29 -04:00
										 |  |  |                      array('127.0.0.1/"test', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/" title="http://127.0.0.1/" rel="nofollow external">127.0.0.1/</a>"test'), | 
					
						
							| 
									
										
										
										
											2009-10-23 13:50:39 -07:00
										 |  |  |                      array('127.0.0.1/test"test', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/test" title="http://127.0.0.1/test" rel="nofollow external">127.0.0.1/test</a>"test'), | 
					
						
							| 
									
										
										
										
											2009-09-04 11:30:29 -04:00
										 |  |  |                      array('127.0.0.1/-test', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/-test" title="http://127.0.0.1/-test" rel="nofollow external">127.0.0.1/-test</a>'), | 
					
						
							| 
									
										
										
										
											2009-09-04 11:30:29 -04:00
										 |  |  |                      array('127.0.0.1/_test', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/_test" title="http://127.0.0.1/_test" rel="nofollow external">127.0.0.1/_test</a>'), | 
					
						
							| 
									
										
										
										
											2009-09-04 11:30:29 -04:00
										 |  |  |                      array('127.0.0.1/!test', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/!test" title="http://127.0.0.1/!test" rel="nofollow external">127.0.0.1/!test</a>'), | 
					
						
							| 
									
										
										
										
											2009-09-04 11:30:29 -04:00
										 |  |  |                      array('127.0.0.1/*test', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/*test" title="http://127.0.0.1/*test" rel="nofollow external">127.0.0.1/*test</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-28 16:18:05 -04:00
										 |  |  |                      array('127.0.0.1/test%20stuff', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/test%20stuff" title="http://127.0.0.1/test%20stuff" rel="nofollow external">127.0.0.1/test%20stuff</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 14:12:31 -04:00
										 |  |  |                      array('http://[::1]:99/test.php', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://[::1]:99/test.php" title="http://[::1]:99/test.php" rel="nofollow external">http://[::1]:99/test.php</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('http://::1/test.php', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://::1/test.php" title="http://::1/test.php" rel="nofollow external">http://::1/test.php</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('http://::1', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://::1/" title="http://::1/" rel="nofollow external">http://::1</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('2001:4978:1b5:0:21d:e0ff:fe66:59ab/test.php', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://2001:4978:1b5:0:21d:e0ff:fe66:59ab/test.php" title="http://2001:4978:1b5:0:21d:e0ff:fe66:59ab/test.php" rel="nofollow external">2001:4978:1b5:0:21d:e0ff:fe66:59ab/test.php</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 14:12:31 -04:00
										 |  |  |                      array('[2001:4978:1b5:0:21d:e0ff:fe66:59ab]:99/test.php', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://[2001:4978:1b5:0:21d:e0ff:fe66:59ab]:99/test.php" title="http://[2001:4978:1b5:0:21d:e0ff:fe66:59ab]:99/test.php" rel="nofollow external">[2001:4978:1b5:0:21d:e0ff:fe66:59ab]:99/test.php</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('2001:4978:1b5:0:21d:e0ff:fe66:59ab', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://2001:4978:1b5:0:21d:e0ff:fe66:59ab/" title="http://2001:4978:1b5:0:21d:e0ff:fe66:59ab/" rel="nofollow external">2001:4978:1b5:0:21d:e0ff:fe66:59ab</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('http://127.0.0.1', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://127.0.0.1/" title="http://127.0.0.1/" rel="nofollow external">http://127.0.0.1</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('http://example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('http://example.com.', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>.'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('/var/lib/example.so', | 
					
						
							|  |  |  |                            '/var/lib/example.so'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('example', | 
					
						
							|  |  |  |                            'example'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('user@example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="mailto:user@example.com" title="mailto:user@example.com" rel="nofollow external">user@example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('user_name+other@example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="mailto:user_name+other@example.com" title="mailto:user_name+other@example.com" rel="nofollow external">user_name+other@example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('mailto:user@example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="mailto:user@example.com" title="mailto:user@example.com" rel="nofollow external">mailto:user@example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('mailto:user@example.com?subject=test', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="mailto:user@example.com?subject=test" title="mailto:user@example.com?subject=test" rel="nofollow external">mailto:user@example.com?subject=test</a>'), | 
					
						
							| 
									
										
										
										
											2009-09-27 16:52:15 -04:00
										 |  |  |                      array('xmpp:user@example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="xmpp:user@example.com" title="xmpp:user@example.com" rel="nofollow external">xmpp:user@example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('#example', | 
					
						
							|  |  |  |                            '#<span class="tag"><a href="' . common_local_url('tag', array('tag' => common_canonical_tag('example'))) . '" rel="tag">example</a></span>'), | 
					
						
							|  |  |  |                      array('#example.com', | 
					
						
							|  |  |  |                            '#<span class="tag"><a href="' . common_local_url('tag', array('tag' => common_canonical_tag('example.com'))) . '" rel="tag">example.com</a></span>'), | 
					
						
							|  |  |  |                      array('#.net', | 
					
						
							|  |  |  |                            '#<span class="tag"><a href="' . common_local_url('tag', array('tag' => common_canonical_tag('.net'))) . '" rel="tag">.net</a></span>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example/" title="http://example/" rel="nofollow external">http://example</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('http://3xampl3', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://3xampl3/" title="http://3xampl3/" rel="nofollow external">http://3xampl3</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example/', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example/" title="http://example/" rel="nofollow external">http://example/</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example/path', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example/path" title="http://example/path" rel="nofollow external">http://example/path</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('https://example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="https://example.com/" title="https://example.com/" rel="nofollow external">https://example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('ftp://example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="ftp://example.com/" title="ftp://example.com/" rel="nofollow external">ftp://example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('ftps://example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="ftps://example.com/" title="ftps://example.com/" rel="nofollow external">ftps://example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://user@example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://user@example.com/" title="http://user@example.com/" rel="nofollow external">http://user@example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://user:pass@example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://user:pass@example.com/" title="http://user:pass@example.com/" rel="nofollow external">http://user:pass@example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com:8080', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com:8080/" title="http://example.com:8080/" rel="nofollow external">http://example.com:8080</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('http://example.com:8080/test.php', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com:8080/test.php" title="http://example.com:8080/test.php" rel="nofollow external">http://example.com:8080/test.php</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('example.com:8080/test.php', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com:8080/test.php" title="http://example.com:8080/test.php" rel="nofollow external">example.com:8080/test.php</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://www.example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://www.example.com/" title="http://www.example.com/" rel="nofollow external">http://www.example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com/', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com/</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com/path', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/path" title="http://example.com/path" rel="nofollow external">http://example.com/path</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com/path.html', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/path.html" title="http://example.com/path.html" rel="nofollow external">http://example.com/path.html</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com/path.html#fragment', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/path.html#fragment" title="http://example.com/path.html#fragment" rel="nofollow external">http://example.com/path.html#fragment</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com/path.php?foo=bar&bar=foo', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/path.php?foo=bar&bar=foo" title="http://example.com/path.php?foo=bar&bar=foo" rel="nofollow external">http://example.com/path.php?foo=bar&bar=foo</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('http://example.com.', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>.'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://müllärör.de', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://müllärör.de/" title="http://müllärör.de/" rel="nofollow external">http://müllärör.de</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://ﺱﺲﺷ.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://ﺱﺲﺷ.com/" title="http://ﺱﺲﺷ.com/" rel="nofollow external">http://ﺱﺲﺷ.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://сделаткартинки.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://сделаткартинки.com/" title="http://сделаткартинки.com/" rel="nofollow external">http://сделаткартинки.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://tūdaliņ.lv', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://tūdaliņ.lv/" title="http://tūdaliņ.lv/" rel="nofollow external">http://tūdaliņ.lv</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://brændendekærlighed.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://brændendekærlighed.com/" title="http://brændendekærlighed.com/" rel="nofollow external">http://brændendekærlighed.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://あーるいん.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://あーるいん.com/" title="http://あーるいん.com/" rel="nofollow external">http://あーるいん.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://예비교사.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://예비교사.com/" title="http://예비교사.com/" rel="nofollow external">http://예비교사.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com.', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>.'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com!', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>!'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com,', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>,'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com;', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>;'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com:', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>:'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('\'http://example.com\'', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '\'<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>\''), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('"http://example.com"', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '"<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>"'), | 
					
						
							| 
									
										
										
										
											2009-10-23 13:50:39 -07:00
										 |  |  |                      array('"http://example.com/"', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '"<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com/</a>"'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('http://example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('(http://example.com)', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '(<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>)'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('[http://example.com]', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '[<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>]'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('<http://example.com>', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<<a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a>>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com/path/(foo)/bar', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/path/(foo)/bar" title="http://example.com/path/(foo)/bar" rel="nofollow external">http://example.com/path/(foo)/bar</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com/path/[foo]/bar', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/path/" title="http://example.com/path/" rel="nofollow external">http://example.com/path/</a>[foo]/bar'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('http://example.com/path/foo/(bar)', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/path/foo/(bar)" title="http://example.com/path/foo/(bar)" rel="nofollow external">http://example.com/path/foo/(bar)</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      //Not a valid url - urls cannot contain unencoded square brackets
 | 
					
						
							| 
									
										
										
										
											2009-08-25 14:12:31 -04:00
										 |  |  |                      array('http://example.com/path/foo/[bar]', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/path/foo/" title="http://example.com/path/foo/" rel="nofollow external">http://example.com/path/foo/</a>[bar]'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('Hey, check out my cool site http://example.com okay?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'Hey, check out my cool site <a href="http://example.com/" title="http://example.com/" rel="nofollow external">http://example.com</a> okay?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('What about parens (e.g. http://example.com/path/foo/(bar))?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'What about parens (e.g. <a href="http://example.com/path/foo/(bar)" title="http://example.com/path/foo/(bar)" rel="nofollow external">http://example.com/path/foo/(bar)</a>)?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('What about parens (e.g. http://example.com/path/foo/(bar)?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'What about parens (e.g. <a href="http://example.com/path/foo/(bar)" title="http://example.com/path/foo/(bar)" rel="nofollow external">http://example.com/path/foo/(bar)</a>?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('What about parens (e.g. http://example.com/path/foo/(bar).)?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'What about parens (e.g. <a href="http://example.com/path/foo/(bar)" title="http://example.com/path/foo/(bar)" rel="nofollow external">http://example.com/path/foo/(bar)</a>.)?'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      //Not a valid url - urls cannot contain unencoded commas
 | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('What about parens (e.g. http://example.com/path/(foo,bar)?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'What about parens (e.g. <a href="http://example.com/path/(foo,bar)" title="http://example.com/path/(foo,bar)" rel="nofollow external">http://example.com/path/(foo,bar)</a>?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('Unbalanced too (e.g. http://example.com/path/((((foo)/bar)?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'Unbalanced too (e.g. <a href="http://example.com/path/((((foo)/bar)" title="http://example.com/path/((((foo)/bar)" rel="nofollow external">http://example.com/path/((((foo)/bar)</a>?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('Unbalanced too (e.g. http://example.com/path/(foo))))/bar)?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'Unbalanced too (e.g. <a href="http://example.com/path/(foo))))/bar" title="http://example.com/path/(foo))))/bar" rel="nofollow external">http://example.com/path/(foo))))/bar</a>)?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('Unbalanced too (e.g. http://example.com/path/foo/((((bar)?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'Unbalanced too (e.g. <a href="http://example.com/path/foo/((((bar)" title="http://example.com/path/foo/((((bar)" rel="nofollow external">http://example.com/path/foo/((((bar)</a>?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('Unbalanced too (e.g. http://example.com/path/foo/(bar))))?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'Unbalanced too (e.g. <a href="http://example.com/path/foo/(bar)" title="http://example.com/path/foo/(bar)" rel="nofollow external">http://example.com/path/foo/(bar)</a>)))?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('example.org', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.org/" title="http://example.org/" rel="nofollow external">example.org</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('example.co.uk', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.co.uk/" title="http://example.co.uk/" rel="nofollow external">example.co.uk</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('www.example.co.uk', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://www.example.co.uk/" title="http://www.example.co.uk/" rel="nofollow external">www.example.co.uk</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('farm1.images.example.co.uk', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://farm1.images.example.co.uk/" title="http://farm1.images.example.co.uk/" rel="nofollow external">farm1.images.example.co.uk</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('example.museum', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.museum/" title="http://example.museum/" rel="nofollow external">example.museum</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('example.travel', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.travel/" title="http://example.travel/" rel="nofollow external">example.travel</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('example.com.', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>.'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('example.com?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('example.com!', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>!'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('example.com,', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>,'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('example.com;', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>;'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('example.com:', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>:'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('\'example.com\'', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '\'<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>\''), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('"example.com"', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '"<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>"'), | 
					
						
							| 
									
										
										
										
											2009-08-25 11:21:45 -04:00
										 |  |  |                      array('example.com', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('(example.com)', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '(<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>)'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('[example.com]', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '[<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>]'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('<example.com>', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            '<<a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('Hey, check out my cool site example.com okay?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'Hey, check out my cool site <a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a> okay?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('Hey, check out my cool site example.com.I made it.', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'Hey, check out my cool site <a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>.I made it.'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('Hey, check out my cool site example.com.Funny thing...', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'Hey, check out my cool site <a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>.Funny thing...'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('Hey, check out my cool site example.com.You will love it.', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'Hey, check out my cool site <a href="http://example.com/" title="http://example.com/" rel="nofollow external">example.com</a>.You will love it.'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('What about parens (e.g. example.com/path/foo/(bar))?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'What about parens (e.g. <a href="http://example.com/path/foo/(bar)" title="http://example.com/path/foo/(bar)" rel="nofollow external">example.com/path/foo/(bar)</a>)?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('What about parens (e.g. example.com/path/foo/(bar)?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'What about parens (e.g. <a href="http://example.com/path/foo/(bar)" title="http://example.com/path/foo/(bar)" rel="nofollow external">example.com/path/foo/(bar)</a>?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('What about parens (e.g. example.com/path/foo/(bar).)?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'What about parens (e.g. <a href="http://example.com/path/foo/(bar)" title="http://example.com/path/foo/(bar)" rel="nofollow external">example.com/path/foo/(bar)</a>.)?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('What about parens (e.g. example.com/path/(foo,bar)?', | 
					
						
							| 
									
										
										
										
											2010-10-18 12:26:01 -07:00
										 |  |  |                            'What about parens (e.g. <a href="http://example.com/path/(foo,bar)" title="http://example.com/path/(foo,bar)" rel="nofollow external">example.com/path/(foo,bar)</a>?'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      array('file.ext', | 
					
						
							|  |  |  |                            'file.ext'), | 
					
						
							|  |  |  |                      array('file.html', | 
					
						
							|  |  |  |                            'file.html'), | 
					
						
							|  |  |  |                      array('file.php', | 
					
						
							| 
									
										
										
										
											2011-02-25 15:38:24 -08:00
										 |  |  |                            'file.php'), | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                      // scheme-less HTTP URLs with @ in the path: http://status.net/open-source/issues/2248
 | 
					
						
							|  |  |  |                      array('http://flickr.com/photos/34807140@N05/3838905434', | 
					
						
							|  |  |  |                            '<a href="http://flickr.com/photos/34807140@N05/3838905434" title="http://flickr.com/photos/34807140@N05/3838905434" class="attachment thumbnail" id="attachment-XXX" rel="nofollow external">http://flickr.com/photos/34807140@N05/3838905434</a>'), | 
					
						
							|  |  |  |                      array('flickr.com/photos/34807140@N05/3838905434', | 
					
						
							|  |  |  |                            '<a href="http://flickr.com/photos/34807140@N05/3838905434" title="http://flickr.com/photos/34807140@N05/3838905434" class="attachment thumbnail" id="attachment-XXX" rel="nofollow external">flickr.com/photos/34807140@N05/3838905434</a>'), | 
					
						
							| 
									
										
										
										
											2009-08-24 15:46:12 -04:00
										 |  |  |                      ); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 |