presidentbeef/brakeman

safe-methods: pass "pointed" methods?

Aperta

#1738 aperta il 9 nov 2022

 (1 commento) (1 reazione) (0 assegnatari)Ruby (767 fork)batch import
help wanted

Metriche repository

Star
 (7232 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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!

Guida contributor