Issue Bug Closed

#19065Invalid URL with nested subdomain

Amael Doe 07/05/08, 05:15 updated 10/02/18, 12:29

Description

Hi,

I’m using a setup where I have:

- Website
– MyWebsite (domain: www.domain1.com)
– page1
– page2
– Specific page (domain: specific.domain1.com)

When browsing the site under “www.domain1.com”, link to “specific.domain1.com” are correct.
When browsing the site under “specific.domain1.com”, link to “www.domain1.com” are correct.
Switching between both domain when using inter domain link work great (although I had to use the kb_domainLinks extention).

The problem is visible with extention like tt_news and mc_googlesitemap: link generated in the RSS/sitemap double the URI: this render like:

http://www.domain1.com/http://www.domain1.com/rest_of_the_uri

I also noticed that typo3 use absolute URI everywhere, which does not seems to be the normal behavior (ie: you get a href=“http://www.domain1.com/fileadmin/myfile” in place of a href=“fileadmin/myfile”).

I suspect this is related to the above issue.

(issue imported from #M8906)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.