iCal Download does not work when URL contains Parameters
Kahmoon opened this issue · 5 comments
The default detail link of the eventreader contains URL parameters. Then the download of the ical element does not work.
When you set "no parameters" in calendar module it works fine.
For listing module there is no such option...you have to clean up the link via regular expressions in template.
This setting is in module calendar,not reader. See right bottom corner of the screenshot. And it seems to be an option from calendar_extend at the end.
In Contao Demo (https://demo.contao.org/en/events.html?month=201905) the link to an event got no parameters at all....thats fine. Parameters seems to be set via calendar_extend
On listing templates you have to remove it via regexp
We can close this issue ;-). Sorry
I'll check, maybe we can fix this anyway.
The link in my listing & reader is like.
myfolder/test-8-2-kopie.html?day=20190208×=1549580400,1549666799
The downloadlink from your module becomes
myfolder/test-8-2-kopie.html?day=20190208×=1549580400,1549666799?ics
So we have two beginnings of parameter "?"
Version 2.0.2
fixes this, thanks for reporting!