v3.1.7: Log-Passwort per HTTPS-Kopfzeile (POST-Inhalt kam nicht an)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Nico Meister
2026-10-26 21:46:53 +01:00
co-authored by Claude Opus 5.5
parent 7d49f1f342
commit e9a7bfb712
4 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ u32 https_request(const char *server, const char *path, const char *form, const
httpcSetKeepAlive(&ctx, HTTPC_KEEPALIVE_DISABLED);
httpcAddTrustedRootCA(&ctx, caDer, caLen); // nur der MBMNET-CA vertrauen wir zusätzlich
if (header && value) httpcAddRequestHeaderField(&ctx, header, value);
if (form) {
if (form && form[0]) { // leerer Text: POST ohne Inhalt
u32 n = strlen(form);
if (n >= sizeof(formBuf)) n = sizeof(formBuf) - 1;
memcpy(formBuf, form, n);