From 25bba4e9c1a50d8a8b4026f6aa36307aa30c0e33 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Sun, 8 Oct 2023 06:18:55 -0700 Subject: [PATCH] Remove version number from 'User-Agent' header when posting. --- Rocksolid_Light/rocksolid/lib/post.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rocksolid_Light/rocksolid/lib/post.inc.php b/Rocksolid_Light/rocksolid/lib/post.inc.php index 5c680bf..435cf92 100644 --- a/Rocksolid_Light/rocksolid/lib/post.inc.php +++ b/Rocksolid_Light/rocksolid/lib/post.inc.php @@ -512,7 +512,7 @@ function message_post($subject, $from, $newsgroups, $ref, $body, $encryptthis = fputs($ns, "Content-Type: text/plain; charset=" . $www_charset . "; format=flowed\r\n"); fputs($ns, "Content-Transfer-Encoding: 8bit\r\n"); } - fputs($ns, "User-Agent: Rocksolid Light " . $rslight_version . "\r\n"); + fputs($ns, "User-Agent: Rocksolid Light\r\n"); if ($send_poster_host) @fputs($ns, 'X-HTTP-Posting-Host: ' . gethostbyaddr(getenv("REMOTE_ADDR")) . "\r\n"); if (($ref != false) && (count($ref) > 0)) {