[TYPO3-core] RFC: #11950: [Feature]: Support for SSL and absolute Links

Oliver Hader oliver at typo3.org
Tue Jan 26 11:18:36 CET 2010


Hi Dmitry,

Am 19.01.10 16:40, schrieb Dmitry Dulepov:
> Hi!
> 
> On 2010-01-19 14:34:36 +0200, Oliver Hader said:
>> Documentation changes:
>> TSref: functions/typolink, new property after "parameter"
>> Property: forceAbsoluteUrl
>> Data type: boolean
>> Description: Forces links to internal pages to be absolute, thus having
>> a proper URL scheme and domain prepended.
> 
> I am against introducing this parameter. Firsts, it changes the behavior
> and makes it incompatible with previous one. It was always TYPO3 who
> prepended config.absRefPrefix to links when it was necessary. I am for
> sticking to this behavior. Also I fear this may create problems with
> linking across domains. Did anybody test it actually with RealURL and
> linking across domains?

Yes, I've tested this as much as I could with RealURL - however, I
cannot make sure that I covered all possible test-cases with different
configurations.

This patch uses the inter-domain-linking feature by just injecting a
target domain that equals the current domain if the forceAbsoluteUrl
behaviour was requested and no other more specific domain record was found.
The URL scheme is hardcoded to 'http' and will still be if nothing else
is defined in the new property forceAbsoluteUrl.scheme.

Thus, the general behaviour on modifying the links is still the same as
before. If this patch would break RealURL then, it is already broken
without this patch.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list