DEV Community

Discussion on: Efficent webhook handling with Ruby on Rails

Collapse
 
madeindjs profile image
Alexandre Rousseau

I think this refactoring is dangerous because you allow code injection. You should verify event['type'] content before call self.send

Collapse
 
arandilopez profile image
Arandi López

Sure, I need to implement Signature check