diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-08-29 06:20:50 +0000 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-08-29 06:20:50 +0000 |
commit | 87ae90c9037a6ff2fed2612a5d5e16707aa05b6e (patch) | |
tree | a2e1b86e1346afc55b33994ccd028616e26be66e /tests | |
parent | c02e8a46878ba3ba1ea24f746db8ef0039d19612 (diff) | |
parent | a44c064397bc7ec6f4aa5e91d8288cd57f79e34a (diff) |
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
Diffstat (limited to 'tests')
-rw-r--r-- | tests/URLDetectionTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/URLDetectionTest.php b/tests/URLDetectionTest.php index 767f895bb..fd697c218 100644 --- a/tests/URLDetectionTest.php +++ b/tests/URLDetectionTest.php @@ -33,6 +33,10 @@ class URLDetectionTest extends PHPUnit_Framework_TestCase '<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/~test', + '<a href="http://127.0.0.1/~test" rel="external">127.0.0.1/~test</a>'), + array('127.0.0.1/test%20stuff', + '<a href="http://127.0.0.1/test%20stuff" rel="external">127.0.0.1/test%20stuff</a>'), array('http://[::1]:99/test.php', '<a href="http://[::1]:99/test.php" rel="external">http://[::1]:99/test.php</a>'), array('http://::1/test.php', |