presidentbeef/brakeman

safe-methods: pass "pointed" methods?

Open

#1,738 opened on Nov 9, 2022

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

Repository metrics

Stars
 (7,232 stars)
PR merge metrics
 (Avg merge 8d 14h) (7 merged PRs in 30d)

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