[TYPO3-dev] Duplicate hostname in URL

Oliver Salzburg kinggencha at googlemail.com
Thu Sep 29 19:29:52 CEST 2011


On 2011-09-29 15:01, Oliver Salzburg wrote:
> Hi,
>
> I've come across this issue a couple of times in the past so I'm
> wondering whether to blame the extensions or myself.
>
> The last culprit was direct_mail_subscription. Which, when it sends out
> any email with links in it, will create them like so:
> http://my.domain.com/http://my.domain.com/news/letter/?&cmd=edit&aC=6d430c47&rU=1
>
>
> Which isn't surprising, given that the template defines the links like:
> ###THIS_URL######FORM_URL###
>
> ###THIS_URL### will be http://my.domain.com/
> ###FORM_URL### will be http://my.domain.com/news/letter/?
>
> So, did I misconfigure something and the second placeholder shouldn't
> contain the hostname, or is the default template for the extension
> outdated and doesn't expect the second placeholder to be filled with a
> link containing the hostname?
>
> Regards,
>
> Oliver

Ok, seems like this is due to me setting absRefPrefix in my config.
Is that uncommon practice?




More information about the TYPO3-dev mailing list