Bug #26517
Confirmation link gets double slashes when using absRefPrefix
| Status: | New | Start date: | 2011-04-29 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
Hey alex,
when using config.absRefPrefix = / (which we do for all our projects, instead of baseURL), which is necessary when using with multiple servers and load balancers, the confirmation link gets two slashes.
This can be prevented easily, if you always do a ltrim($link, '/') on the generated typolink. we do this in a similar way in extbase.
The optimal solution since TYPO3 4.4 however, is to use
typolink.makeAbsoluteUrl = 1
typolink.makeAbsoluteUrl.scheme = http://
but then we'd have a problem with TYPO3 4.3, so the applied patch should work.