egg-security icon indicating copy to clipboard operation
egg-security copied to clipboard

feat: Check whether the value is legal Before setting the header

Open GuanyuChen opened this issue 3 years ago • 1 comments

Checklist
  • [x] npm test passes
  • [x] tests and/or benchmarks are included
  • [x] documentation is changed or added
  • [x] commit message follows commit guidelines
Affected core subsystem(s)
Description of change

add utils.checkInvalidHeaderChar, check whether the value is legal Before setting the header, the illegal header will not be set

GuanyuChen avatar Dec 05 '21 03:12 GuanyuChen

@dead-horse 大佬有时间帮忙 review 一下不?

GuanyuChen avatar Dec 08 '21 13:12 GuanyuChen