Rules for checking that a filename is safe

后端 未结 0 827
攒了一身酷
攒了一身酷 2021-01-24 23:40

Is the following sufficient to check that a path is not malicious, and is the validation against these rules correct:

  1. Path must have non-zero length
  2. It mus
相关标签:
回答
  • 消灭零回复
提交回复
热议问题