Open pallu opened 10 years ago
I'm a little curious why it is using .ToLower() in the first place. There isn't any reason to adjust the value at all. AFAICT a SHA1 will always use lower, but that still isn't a reason to adjust for poor data, if the user has an invalid SHA1 then they should be told that rather than cover it up. I didn't bother checking for an OpenID but this lib still shouldn't try to correct for formats.
Agreed, can't say why the .ToLower() is there in the first place.
Actor.cs has this as code
I am saving my statements to MongoDb. When I try to get back Actors, there is a deserialization error because the mbox_sha1sum and OpenID are nulls and hence, the ToLower() throws an error. I had to modify the two setters as follows: