[TYPO3-core] RFC #17118: Bug: pages with Enforce Protocol(SSL) may generate wrong URL

Steffen Ritter info at rs-websystems.de
Wed Feb 9 21:48:44 CET 2011


Hey list,
This is an SVN patch request.

Type: Bug

Bugtracker references:
http://bugs.typo3.org/view.php?id=17118

Branches:
4-5, trunk

Problem:
If TYPO3 is installed in a subfolder, you won't need a absRefPrefix set 
because normally links are relative. If a Protocol change will (SSL -> 
PLAIN or vice versa) happen, the URL has to be generated absolute. This 
will fail in the described behaviour.


Solution:
Add a check in the link generation.

Notes:
This one has been reported by Michael Maier.
Attached patch is my "easier to read" version doing the same as _v2 of 
Jigal and the result of talking through all cases which may arise.

regards
Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17118_RS_v1.patch
Type: text/x-patch
Size: 900 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110209/67560b34/attachment.bin>


More information about the TYPO3-team-core mailing list