From 6c8c64b2ec3ec05872f9474b4455b29e37bd7121 Mon Sep 17 00:00:00 2001 From: Alec Murphy Date: Fri, 10 Oct 2025 14:11:19 -0400 Subject: [PATCH] Applications/Internet/Cyberia: Set Content-Type as application/x-www-form-urlencoded for HTML form POST method --- Applications/Internet/Cyberia.app/Cyberia.HC | 1 + 1 file changed, 1 insertion(+) diff --git a/Applications/Internet/Cyberia.app/Cyberia.HC b/Applications/Internet/Cyberia.app/Cyberia.HC index 1bdd5cf..be073fa 100644 --- a/Applications/Internet/Cyberia.app/Cyberia.HC +++ b/Applications/Internet/Cyberia.app/Cyberia.HC @@ -694,6 +694,7 @@ U0 @cyberia_navigate(Bool refresh = FALSE) headers->set("Cookie", cookie_buf, JSON_STRING); } if (renderer->form_data_str) { + headers->set("Content-Type", "application/x-www-form-urlencoded", JSON_STRING); resp = Http.Post(renderer->current_url, buffer, renderer->form_data_str, headers); // FIXME: form_data_str should be freed renderer->form_data_str = NULL;