Bug #33214
closedTypoLink creates only absolute links in multi-domain environment when installed in a subfolder
100%
Description
If you have the following configuration:
http://localhost/subfolder/ < This is your website root
Domain-Record:
localhost/subfolder/
You only get absolute links in the frontend afterwards. This is because the typoLink function compares the HTTP_HOST var with the domainRecord. HTTP_HOST is in this case "localhost", the domain record has the subfolder attached. The subfolder needs to be there, as otherwise t3lib_pageSelect::getDomainStartPage does not find the start page anymore. typoLink should check for HTTP_HOST + path of SCRIPT_NAME to determine which domain record to use (same as getDomainStartPage already does).
Updated by Gerrit Code Review almost 13 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7816
Updated by Gerrit Code Review almost 13 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7816
Updated by Philipp Gampe almost 13 years ago
I can not reproduce this bug with current master.
I use the introduction package from 4.4 as base for my test website.
I created a domain record "phil-desktop/t3-playground/dummy
".
Then I set config.baseUrl = /t3-playground/dummy/
.
No absRefPrefix is set (this setting does not exits in this version of the IP and it is not set anywhere else).
I always get relative URLs in frontend for all menu items and images.
My website is located at "phil-desktop|localhost/t3-playground/dummy/
"
Updated by Gerrit Code Review almost 13 years ago
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/9073
Updated by Gerrit Code Review almost 13 years ago
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/9074
Updated by Nils Seinschedt almost 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c7228a60d2a12fa937af63baf42d10460a70cc03.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 2 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/9074
Updated by Nils Seinschedt over 12 years ago
- Status changed from Under Review to Resolved
Applied in changeset 1c3e89656ae587e7f420d9c9870ac87e44d0a71a.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 2 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/9073
Updated by Gerrit Code Review over 12 years ago
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/12798
Updated by Nils Seinschedt almost 12 years ago
- Status changed from Under Review to Resolved
Applied in changeset 6d006e2185273e11e81ab46f2a0d2aa24dffec4e.