[TYPO3-core] RFC: #0011824: Links accross Domains not known by linkData and therefore also RealURL

Dmitry Dulepov dmitry.dulepov at gmail.com
Fri Sep 25 19:27:19 CEST 2009


Hi!

Ernesto Baschny [cron IT] wrote:
> I think the "problem" is in function tx_realurl::setConfig, where this
> is called:
> 
> 	// First pass, finding configuration OR pointer string:
> 	$this->extConf = isset($extConf[$this->host]) ? $extConf[$this->host] :
> $extConf['_DEFAULT'];
> 
> But $this->host is the current host ("TYPO3_HOST_ONLY"). If the link
> points to a page in a different sys_domain, which might even have
> different realurl settings, the wrong setup is loaded. With the "new
> parameter" in place $this->host isn't always "TYPO3_HOST_ONLY", but the
> domain where the link is pointing to.
> 
> Or am I misunderstanding the code or is this being handled somewhere else?

This piece of code gets the configuration for the current domain, that's all.

-- 
Dmitry Dulepov
Facebook: http://www.facebook.com/dmitryd
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs


More information about the TYPO3-team-core mailing list