[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)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 29 Oct 2012 08:42:22 +0000 (09:42 +0100)
commitc05e7593e3dc4156f73f7614bd27ac59fc2cfb54
tree4958a05e63c46cfbb7c116038d90728922559f41
parentd4c539dbb168215dae075e1f5f919a31efc3b92b
[BUGFIX] t3lib_div: adjust substUrlsInPlainText to also work on URLs at end of sentence

Reworked substUrlsInPlainText by using regex.
Adding unittest.

Change-Id: I76630dac633b4fb1875f585a2bca888bfd4a16cf
Resolves: #28248
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/10539
Reviewed-by: Mario Rimann
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/class.t3lib_div.php
tests/t3lib/t3lib_divTest.php