From eaa917045bb6c6c7325526788f620b298b83cf6e Mon Sep 17 00:00:00 2001 From: Holger Trampe Date: Sat, 23 Oct 2021 16:06:32 +0200 Subject: [PATCH] kA --- lib/AppInfo/Application.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 9ee9b9f..a4b7af3 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -115,10 +115,10 @@ class LoginByNC extends Controller { ), "http" => array( "method" => "POST", - "header" => "Content-Type: application/x-www-form-urlencoded\r\n", + "header" => "", "content" => $postdata ) - ]; + ]; $context = stream_context_create($opts); $file = file_get_contents($this->nclink.'/api/setlog/', false, $context);