Repository navigation
I40: /v1/events 正文读取顺序修复(#176) - #182
Merged
Merged
Conversation
# Conflicts: # docs/issues/B30.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #176
关构建 #14 复验 F2:express.json() 先消费请求流,薄壳再 readBody 读到空串,application/json 恒 400 org_id 必填(text/plain 同 body 回 201)。修法按定死口径:req.body 已解析则对象 JSON.stringify / 字符串原样,undefined 才读流;超限在归一后字节数上判定;未把路由摘出 body-parser。补三例单测(json 201 / 无 body 400 / 超 16KB 400)。门禁:platform-core 98 files 1489 passed(基线 1486,+3)、tsc exit 0、eslint exit 0。