[BUGFIX] t3lib_div: adjust substUrlsInPlainText to also work on URLs at end of sentence
authorRobert Heel <typo3.org@bobosch.de>
Mon, 6 Feb 2012 02:47:48 +0000 (03:47 +0100)
committerTolleiv Nietsch <tolleiv.nietsch@typo3.org>
Sun, 15 Apr 2012 19:24:54 +0000 (21:24 +0200)
commit64d886acc619e20e49cc7bce391260ee5c8b65be
treec28171be628ec82a85fa5c254853932ad88e2207
parent4d79e1067bcca87b8036845f41d0423bed14c994
[BUGFIX] t3lib_div: adjust substUrlsInPlainText to also work on URLs at end of sentence

Reworked substUrlsInPlainText by using regex.
Adding unittest.

Change-Id: Ic5cc35546602e1d626f88f2cd64b9030f31780d6
Resolves: #28248
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/3383
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
t3lib/class.t3lib_div.php
tests/t3lib/class.t3lib_divTest.php