eggjs / egg-security

Security plugin for egg, force performance too.
MIT License
238 stars 43 forks source link

feat: add escapeShellArg and escapeShellCmd #60

Closed p0sec closed 5 years ago

p0sec commented 5 years ago
Checklist
Affected core subsystem(s)
Description of change
  1. add escapeShellArg.js and escapeShellCmd.js
  2. README.md, README.zh-CN: Fix formations and explainations.
codecov[bot] commented 5 years ago

Codecov Report

Merging #60 into master will increase coverage by 0.08%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
+ Coverage   96.35%   96.43%   +0.08%     
==========================================
  Files          30       32       +2     
  Lines         521      533      +12     
==========================================
+ Hits          502      514      +12     
  Misses         19       19
Impacted Files Coverage Δ
lib/helper/index.js 100% <ø> (ø) :arrow_up:
lib/helper/escapeShellCmd.js 100% <100%> (ø)
lib/helper/escapeShellArg.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 22b155f...fac50c5. Read the comment docs.

atian25 commented 5 years ago

2.7.0