presidentbeef/brakeman

safe-methods: pass "pointed" methods?

开放

#1,738 创建于 2022年11月9日

 (1 条评论) (1 个反应) (0 位负责人)Ruby (767 个派生)batch import
help wanted

仓库指标

星标
 (7,232 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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!

贡献者指南