presidentbeef/brakeman

safe-methods: pass "pointed" methods?

Open

#1738 opened on Nov 9, 2022

View on GitHub
 (1 comment) (1 reaction) (0 assignees)Ruby (7,232 stars) (767 forks)batch import
help wanted

Description

Hi,

I'm using Sanitize.fragment(str) to sanitize, but --safe-methods=Sanitize.fragment does not work, I have to decay this into --safe-methods=fragment. But I feel less secure this way. It would be nice to have richer means to specify the safe methods.

Cheers!

Contributor guide