From 13c5bb1551b636f355c52cccbe510ab8ec453018 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Sun, 25 Jun 2023 09:15:56 -0700 Subject: [PATCH] Trim whitespace from username to avoid bypassing rate limits. --- Rocksolid_Light/rocksolid/post.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Rocksolid_Light/rocksolid/post.php b/Rocksolid_Light/rocksolid/post.php index beb074f..42d8242 100644 --- a/Rocksolid_Light/rocksolid/post.php +++ b/Rocksolid_Light/rocksolid/post.php @@ -172,6 +172,7 @@ if ($type=="post") { } if ($type=="post") { + $name = trim($name); if (!$CONFIG['readonly']) { // post article to the newsserver if($references)