DEV Community

loading...

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 Author

Sure, I need to implement Signature check

Forem Open with the Forem app