Remove version number from 'User-Agent' header when posting.

This commit is contained in:
Retro_Guy 2023-10-08 06:18:55 -07:00
parent 34f3e621ac
commit 25bba4e9c1
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {