Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> ruby >> ruby-terrapin
nabia  ] [  aramo  ]
[ 原始碼: ruby-terrapin  ]

套件: ruby-terrapin (0.6.0-2)

Run shell commands safely, even with user-supplied values

Apart from the basic, normal stuff, you can use nterpolated arguments. It also prevents attempts at being bad.

You can also see what's getting run. The 'Command' part it logs is in green for visibility!

Terrapin will only shell-escape what is passed in as interpolations to the run method. It WILL NOT escape what is passed in to the second argument of new. Terrapin assumes that you will not be manually passing user-generated data to that argument and will be using it as a template for your command line's structure.

其他與 ruby-terrapin 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 ruby-terrapin

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 9.0 kB41 kB [文件列表]