Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google calendar links fail for complex queries #507

Closed
NixGD opened this issue Feb 6, 2025 · 1 comment · Fixed by #508
Closed

Google calendar links fail for complex queries #507

NixGD opened this issue Feb 6, 2025 · 1 comment · Fixed by #508

Comments

@NixGD
Copy link

NixGD commented Feb 6, 2025

The calendar link on https://folkdance.page/?country=UK&city=London&styles=balfolk,contra,scandi takes me to https://www.google.com/calendar/render?cid=webcal://folkdance.page/index.ics?country=UK&city=London&styles=balfolk%2Ccontra%2Cscandi . However, google only adds the calendar webcal://folkdance.page/index.ics?country=UK.

Escaping the ampersands seems to fix this, navigating to https://www.google.com/calendar/render?cid=webcal://folkdance.page/index.ics?country=UK%26city=London%26styles=balfolk%2Ccontra%2Cscandi (with %26 instead of &) adds the correct calendar.

@qwandor
Copy link
Owner

qwandor commented Feb 6, 2025

Thanks for spotting this! The fix should be live now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants