I would suspect that entering an email address is just incompetence, but with good intentions. I’m not sure how someone would get hold of a mailto: format without meaning to, i.e. if they were trying to break the thing.

We could do a test call to the calendar service to see if we get a 200 perhaps?

--
Ben Holmes, IT Services, University of Oxford

On 5 Nov 2013, at 11:18, Matthew Buckett <notifications@github.com<mailto:notifications@github.com>> wrote:


In calendar-tool/tool/src/java/org/sakaiproject/calendar/tool/CalendarAction.java:

> @@ -1689,6 +1691,14 @@ else if (calendarUrl.length() == 0)
>                       }
>                       else
>                       {
> +
> +                             try {
> +                                     new URL(calendarUrl);


This stops user@example.com<mailto:user@example.com> working, but doesn't stop us getting the errors. Eg you can enter mailto:user@example.com<mailto:user@example.com> which passes the validation but doesn't actually allow you to retrieve the calendar.

Do we care enough about this?

—
Reply to this email directly or view it on GitHub<https://github.com/ox-it/wl-calendar/pull/5/files#r7427436>.