AddToCalendar / addtocalendar

Free customizable JavaScript widget "Add to Calendar" for event page. It allows users to easily schedule the event in their calendar. Learn more: https://addtocalendar.com
87 stars 43 forks source link

Invalid event parameters when sent to Roundcube #27

Open willow9886 opened 7 years ago

willow9886 commented 7 years ago

Hi there,

I'm experiencing a strange issue when the add to calendar links are sent to an email that uses Roundcube. The issue only seems to be occurring when I try to add the event from an email opened in Roundcube. I have tested the same exact event sent to gmail and yahoo and there are no issues.

What's strange is that I have extracted the Google Calendar link from both an email sent to Roundcube as well as an email sent to Gmail.

Link Sent to Roundcube:

http://addtocalendar.com/atc/google?f=m&e[0][date_start]=2017-03-21%2011%3A00%3A00&e[0][date_end]=2017-03-21%2012%3A00%3A00&e[0][timezone]=Pacific%2FMidway&e[0][title]=Gluu's%20OpenID%20Connect%20EDU%20Webinar&e[0][description]=Learn%20more%20about%20OpenID%20Connect%20and%20how%20to%20use%20the%20Gluu%20Server%20for%20single%20sign-on%20(SSO)%20to%20OpenID%20Connect%20apps!%0A%0AGoToMeeting%20Details%20for%20the%20Webinar%3A%0A%0A1.%20Please%20join%20my%20meeting.%0Ahttps%3A%2F%2Fglobal.gotomeeting.com%2Fmeeting%2Fjoin%2F120101757%0A%0A2.%20Use%20your%20microphone%20and%20speakers%20(VoIP)%20-%20a%20headset%20is%20recommended.%20Or%2C%20call%20in%20using%20your%20telephone.%0A%0AAustralia%3A%20%2B61%202%209087%203605%0AAustria%3A%20%2B43%20(0)%207%202088%201403%0ABelgium%3A%20%2B32%20(0)%2028%2008%204294%0ACanada%3A%20%2B1%20(647)%20497-9351%0ADenmark%3A%20%2B45%20(0)%2069%2091%2088%2064%0AFinland%3A%20%2B358%20(0)%20942%2041%205780%0AFrance%3A%20%2B33%20(0)%20182%20880%20459%0AGermany%3A%20%2B49%20(0)%20811%208899%206902%0AIreland%3A%20%2B353%20(0)%2014%20845%20978%0AItaly%3A%20%2B39%200%20699%2036%2098%2081%0ANetherlands%3A%20%2B31%20(0)%20208%20080%20381%0ANew%20Zealand%3A%20%2B64%20(0)%209%20909%207888%0ANorway%3A%20%2B47%2021%2003%2058%2098%0ASpain%3A%20%2B34%20955%2032%200845%0ASweden%3A%20%2B46%20(0)%20852%20503%20499%0ASwitzerland%3A%20%2B41%20(0)%20435%200167%2009%0AUnited%20Kingdom%3A%20%2B44%2020%207151%201857%0AUnited%20States%3A%20%2B1%20(619)%20550-0006%0A%0AAccess%20Code%3A%20120-101-757&e[0][location]=https%3A%2F%2Fglobal.gotomeeting.com%2Fmeeting%2Fjoin%2F120101757&e[0][organizer]=Gluu%2C%20Inc.&e[0][organizer_email]=will%40gluu.org&e[0][privacy]=public

Link Sent to Gmail:

http://addtocalendar.com/atc/google?f=m&e[0][date_start]=2017-03-21%2011%3A00%3A00&e[0][date_end]=2017-03-21%2012%3A00%3A00&e[0][timezone]=Pacific%2FMidway&e[0][title]=Gluu%27s%20OpenID%20Connect%20EDU%20Webinar&e[0][description]=Learn%20more%20about%20OpenID%20Connect%20and%20how%20to%20use%20the%20Gluu%20Server%20for%20single%20sign-on%20(SSO)%20to%20OpenID%20Connect%20apps!%0A%0AGoToMeeting%20Details%20for%20the%20Webinar%3A%0A%0A1.%20Please%20join%20my%20meeting.%0Ahttps%3A%2F%2Fglobal.gotomeeting.com%2Fmeeting%2Fjoin%2F120101757%0A%0A2.%20Use%20your%20microphone%20and%20speakers%20(VoIP)%20-%20a%20headset%20is%20recommended.%20Or%2C%20call%20in%20using%20your%20telephone.%0A%0AAustralia%3A%20%2B61%202%209087%203605%0AAustria%3A%20%2B43%20(0)%207%202088%201403%0ABelgium%3A%20%2B32%20(0)%2028%2008%204294%0ACanada%3A%20%2B1%20(647)%20497-9351%0ADenmark%3A%20%2B45%20(0)%2069%2091%2088%2064%0AFinland%3A%20%2B358%20(0)%20942%2041%205780%0AFrance%3A%20%2B33%20(0)%20182%20880%20459%0AGermany%3A%20%2B49%20(0)%20811%208899%206902%0AIreland%3A%20%2B353%20(0)%2014%20845%20978%0AItaly%3A%20%2B39%200%20699%2036%2098%2081%0ANetherlands%3A%20%2B31%20(0)%20208%20080%20381%0ANew%20Zealand%3A%20%2B64%20(0)%209%20909%207888%0ANorway%3A%20%2B47%2021%2003%2058%2098%0ASpain%3A%20%2B34%20955%2032%200845%0ASweden%3A%20%2B46%20(0)%20852%20503%20499%0ASwitzerland%3A%20%2B41%20(0)%20435%200167%2009%0AUnited%20Kingdom%3A%20%2B44%2020%207151%201857%0AUnited%20States%3A%20%2B1%20(619)%20550-0006%0A%0AAccess%20Code%3A%20120-101-757&e[0][location]=https%3A%2F%2Fglobal.gotomeeting.com%2Fmeeting%2Fjoin%2F120101757&e[0][organizer]=Gluu%2C%20Inc.&e[0][organizer_email]=will%40gluu.org&e[0][privacy]=public

As far as I can tell, the links are exactly the same. However, if you open the link that was sent to Roundcube, you get a AddToCalendar.com gets invalid event parameters that complains about location This value should not be blank.

Here are the location blurbs from each link (that are exactly the same):

[location]=https%3A%2F%2Fglobal.gotomeeting.com%2Fmeeting%2Fjoin%2F120101757&e[0]

[location]=https%3A%2F%2Fglobal.gotomeeting.com%2Fmeeting%2Fjoin%2F120101757&e[0]

The link when opened from gmail works perfectly.

Any ideas what might be going on? It seems strange that the exact same link is resulting in different behaviors.

Thanks in advance!