[TYPO3-core] RFC: #8005: Linking across domains does not work with nested domains

Dmitry Dulepov [typo3] dmitry at typo3.org
Thu Apr 3 20:35:34 CEST 2008


Hi!

This is SVN patch request.

Type: bug

Branches: 4.1, 4.2

BT reference: http://bugs.typo3.org/view.php?id=8005

Problem: if domains are nested inside other domains, linking across domains will not produce proper link. When using RealURL, for example, path will be correct (like for subdomain) but typolink will not prepend domain name. The reason: typolink does not expected nested domains.

Solution check is_siteroot for rootline records. The whole fix is 4 lines, one of which is comment and one is ending bracket of "if" statement, so very trivial.

FAQ:
Q: Are nested domains allowed?
A: They are not disallowed. So possible.
Q: Will this affect normal rootline processing?
A: No, because is_siteroot is supposed to be set only in the beginning of rootline, where domain starts.

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 8005.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080403/c81c228c/attachment.txt 


More information about the TYPO3-team-core mailing list