shreemaan-abhishek commented on PR #2807:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/2807#issuecomment-5002366578

   Good catch. \`parseInlineKeyAuthKey\` now guards with \`json.Valid\` up 
front, so truncated input, trailing data, and multiple top-level values are 
treated as malformed and skipped (matching cjson, which rejects them too). 
Duplicate keys remain valid JSON and are still caught by the token walk. Added 
table cases for the truncated-object, multi-value, and trailing-garbage shapes. 
Same fix synced to api7/api7-ingress-controller#434.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to