[BUGFIX] Fix absolute link generation for files 11/34411/3
authorMarkus Klein <klein.t3@reelworx.at>
Sat, 25 May 2013 10:47:53 +0000 (12:47 +0200)
committerFrans Saris <franssaris@gmail.com>
Thu, 20 Nov 2014 21:20:02 +0000 (22:20 +0100)
commit3391af0ab623cf695a4b65cb48ade495bf9704ba
treef8ad8be58e4ab37a880b6b3a6069dafdadf886f8
parent77f7fa27054e1402a639e103a4b8ca3a947ebb5d
[BUGFIX] Fix absolute link generation for files

The method ContentRendererObject::forceAbsoluteUrl() fails
to generate absolute URLs for internal file resources even
if the flag "forceAbsoluteUrl" is activated.

Fix this by modifying the regexp that defines what is
accepted as an "already absolute link".

Resolves: #48529
Releases: master, 6.2
Change-Id: Iaf78d946f0f5cd35d175fe39159de72d18a7fa52
Reviewed-on: http://review.typo3.org/34411
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php