[BUGFIX] Fix absolute link generation for files 36/21036/12
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:01:39 +0000 (22:01 +0100)
commitdc0fd8125f67168b4c5536515b558d0dc888e00f
treec22904b1657157d4f7f55a2f6a808024e1a448f1
parent1b06d47e40119f2f97949d8144128f00535ca5fb
[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/21036
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php