[TYPO3-core] RFC: #11950: [Feature]: Support for SSL and absolute Links
Oliver Hader
oliver at typo3.org
Sat Nov 7 21:03:01 CET 2009
Hey Mick,
Michael Klapper schrieb:
> This is an SVN patch request.
>
> Type: New feature
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=11950
>
> Branches:
> trunk
>
> Problem:
> Sometimes it is really helpfull and important to force an link to SSL.
>
> Solution:
> Implement new parameter to tslib_cObj::typolink() to generate links with
> SSL & absoulte path if required.
>
> The attached patch contains the two new parameter "forceAbsoulteUrl" &
> "forceHttps".
>
> Notes:
> How to use the two new parameter?
> typolink.parameter=60
> typolink.forceAbsoluteUrl=1
> typolink.forceHttps=1
The forceAbsoluteUrl property is fine. However, I'm not sure about the
forceHttps, since
* it only makes sence on absolute URLs
* should only replace the real scheme of an URL (e.g. not in
"http://myhost.com/?referer=http://google.com")
Maybe it's better to use
typolink.forceAbsoluteUrl = 1
typolink.forceAbsoluteUrl.protocol = https
// protocol is http by default and could be anything else
Unfortunately this feature will not make it to TYPO3 4.3 since we're
close to the release candidate already...
olly
--
Oliver Hader
TYPO3 Release Manager 4.3
More information about the TYPO3-team-core
mailing list