[Freeipa-devel] [PATCH] jderose 028 Lossless datetime round-trip

Rob Crittenden rcritten at redhat.com
Fri Dec 4 14:49:58 UTC 2009


John Dennis wrote:
> On 12/03/2009 11:56 AM, Rob Crittenden wrote:
> 
>> What should this do it if the incoming DateTime value is not parsed
>> correctly by datetime.datetime()?
> 
> Well in theory this should never happen if the parameter value complies 
> with the specification which demands it be in iso8601 format. I would 
> imagine it would raise a ValueError just like any other ill formed 
> parameter.
> 

That's not the case I'm concerned with. I'm wondering about Joe hacker 
who wants to see what happens when bad data is sent to IPA. I don't 
think we'll catastrophically blow up but I also don't think we'd return 
a useful error message.

rob




More information about the Freeipa-devel mailing list