Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Validate iCalendar data from clients #128
1/12/07 12:37 PM Cyrus Daboo:
The calendar server should validate all iCalendar data sent by clients in requests, which will prevent some cross-client interop problems.
vObject has a validate() method for components that should do the trick. We should probably call that in Component.fromIStream() and anywhere else where we read a component from a client. Whether we make that a config or debug option or not is debatable but it would be better to be pedantic about what we receive from one client because that could be seen by another client that doesn't like it, even if our server accepted it.