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

Steffen Kamper steffen at sk-typo3.de
Sat Apr 5 17:48:24 CEST 2008


"Dmitry Dulepov [typo3]" <dmitry at typo3.org> schrieb im Newsbeitrag 
news:mailman.1.1207247734.3297.typo3-team-core at lists.netfielders.de...
> 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.
>
> --
Hi Dmitry,

+1 after reading (have no real test scenario)
This is a logic follow up to #7839

vg  Steffen 




More information about the TYPO3-team-core mailing list