summaryrefslogtreecommitdiff
path: root/tests/URLDetectionTest.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-31 10:33:37 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-31 10:33:37 -0400
commit20423af689fbf4dd139e1254dc49ae3df1db0de2 (patch)
tree6af97ed4ba7af606957fb8a58d196c0b9bcf47cf /tests/URLDetectionTest.php
parent87ae90c9037a6ff2fed2612a5d5e16707aa05b6e (diff)
Allow :'s in the path, query string, and fragment parts of the url (Mediawiki URLs often do this)
Diffstat (limited to 'tests/URLDetectionTest.php')
-rw-r--r--tests/URLDetectionTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/URLDetectionTest.php b/tests/URLDetectionTest.php
index fd697c218..9a103b6f7 100644
--- a/tests/URLDetectionTest.php
+++ b/tests/URLDetectionTest.php
@@ -31,8 +31,8 @@ class URLDetectionTest extends PHPUnit_Framework_TestCase
'<a href="http://127.0.0.1/" rel="external">127.0.0.1</a>'),
array('127.0.0.1:99',
'<a href="http://127.0.0.1:99/" rel="external">127.0.0.1:99</a>'),
- array('127.0.0.1/test.php',
- '<a href="http://127.0.0.1/test.php" rel="external">127.0.0.1/test.php</a>'),
+ array('127.0.0.1/Name:test.php',
+ '<a href="http://127.0.0.1/Name:test.php" rel="external">127.0.0.1/Name:test.php</a>'),
array('127.0.0.1/~test',
'<a href="http://127.0.0.1/~test" rel="external">127.0.0.1/~test</a>'),
array('127.0.0.1/test%20stuff',