You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is kinda harsh for developers, requiring to have author_id of type string. We can convert that on our own, with a simple .to_s ; I think it's more important to check if all the content of author_id are digits.
The text was updated successfully, but these errors were encountered:
dimaursu
changed the title
Data validation is too harsh
Data validation is too brute
Jan 23, 2015
https://github.com/Raven24/diaspora-federation/blob/master/lib/diaspora-federation/salmon/encrypted_slap.rb#L115
This is kinda harsh for developers, requiring to have author_id of type string. We can convert that on our own, with a simple
.to_s
; I think it's more important to check if all the content ofauthor_id
are digits.The text was updated successfully, but these errors were encountered: