在 $banned_filename_re 里去掉 doc 相关的内容。例如:
[qr'.\.(doc|docx|xls|xlsx|ptt|pptx)$'i => 0], # <-- '0': allow
另外,贴 config file 的时候要注意是否含有密码等敏感信息,要替换掉以免泄露。
在 $banned_filename_re 里去掉 doc 相关的内容。例如:
[qr'.\.(doc|docx|xls|xlsx|ptt|pptx)$'i => 0], # <-- '0': allow
另外,贴 config file 的时候要注意是否含有密码等敏感信息,要替换掉以免泄露。