[Midnightbsd-cvs] [MidnightBSD/mports] 3203df: Tools/magus/mcp.cgi: fix empty request body by usi...
Lucas Holt
noreply at github.com
Sun May 3 16:31:35 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: 3203dfd8684c61e26217da05af76645ae9fea4d8
https://github.com/MidnightBSD/mports/commit/3203dfd8684c61e26217da05af76645ae9fea4d8
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-03 (Sun, 03 May 2026)
Changed paths:
M Tools/magus/www/data/magus/auth/mcp.cgi
Log Message:
-----------
Tools/magus/mcp.cgi: fix empty request body by using CGI POSTDATA
CGI->new consumes STDIN on construction; for non-form content types
like application/json it stashes the body in the POSTDATA parameter
rather than leaving it on STDIN for a manual read() call.
Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list