Menu

#8 Do validation

normal
open
nobody
Net-ICal (57)
7
2012-05-22
2001-05-15
No

Net::ICal::Event needs to be validating the data it
gets input a bit more tightly. It relies on ETJ's
validation routines right now, which is just not
enough.

Discussion

  • Kirrily Robert

    Kirrily Robert - 2001-06-24

    Logged In: YES
    user_id=9786

    What's the RFC section for this?

     
  • Martijn van Beers

    Logged In: YES
    user_id=1366

    Changed bug so it covers all validation problems. We need to
    consistently put in validation routines
    for every component.

     
  • Tim Mooney

    Tim Mooney - 2001-09-07

    Logged In: YES
    user_id=36222

    Be careful about what you require, though. For example
    the docs for Net::ICal::Event indicate an organizer is
    required.
    If the VEVENT is coming from a calendar that you don't have
    permission to read (it's a confidential or private event),
    you
    probably can't read the ORGANIZER, or even UID. About all
    you're likely to get is the dtstart and either the duration
    or
    the dtend.

    This is the way Steltor's "CorporateTime" works -- if I
    schedule
    a private event and someone else looks at my calendar, they
    can get the DTSTART and the DURATION, but that's it.
    Nothing
    else.

     

Log in to post a comment.

MongoDB Logo MongoDB