Closed fxn closed 2 years ago
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.
I have not personally tested it, but by reading https://github.com/facebook/facebook-ruby-business-sdk/commit/960193fd892c529c1085371e9958127f954a832e, this issue seems to be fixed. Thanks!
When an invalid email is set, normalization raises a
TypeError
:Reason is email validation is implemented this way (mod whitespace):
and the first
return
should be araise
.That incorrect return value for invalid emails ends up being passed to the hashing function, which is the one raising
TypeError
.