You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
zhongshan1993
changed the title
在 Content-Length 和文件不一致时会引起程序崩溃
在 Content-Length 和文件不一致时会引起程序崩溃 Cannot read property 'originalUrl' of null
Nov 17, 2020
复现 demo https://github.com/zhongshan1993/fastify-file-error-demo
在 触发 busboy 的 error 事件后,又触发了 finish 事件,导致 middie 中的 done 方法再次被调用,此时 req 的值为 null。
这种场景下,live 环境易收到外部攻击
The text was updated successfully, but these errors were encountered: