URL shows domain twice
Closed this issue · 3 comments
I just added this module to my webseite and added sharebuttons ?> to my template. The share buttons are shown as configured in the news archive, however, the links for sharing are built a little bit odd.
Example:
http://www.breitseitcomics.at/share/index.php?p=facebook&u=http%3A%2F%2Fwww.breitseitcomics.at%2Fhttp%3A%2F%2Fwww.breitseitcartoons.at%2Fhome%2Fkunst-und-geschichte.html&t=Kunst%20und%20Geschichte
Notice the double domain name in the URL, which is provided through the template vars.
Any ideas?
Regards, Thomas
Hm, I will have a look at it. URL generation has changed in later Contao versions, so this might be why this is happening.
Are only the news URLs affected or also the URLs when you use the Share Buttons content element?