From 02ccca528e7dc4fec93c718990042a27d2d0e10c Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 21 Dec 2004 23:06:31 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4913 --- checkin_notes | 7 +++++++ html/inc/forum.inc | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 3e522fcc15..f99c337bfc 100755 --- a/checkin_notes +++ b/checkin_notes @@ -21702,3 +21702,10 @@ David 20 Dec 2004 api/ x_opengl.C + +Rom 21 Dec 2004 + - Circumvent identity spoofing on the boards by displaying the + user id of the poster. + + html/inc + forum.inc diff --git a/html/inc/forum.inc b/html/inc/forum.inc index d40aeeb0cf..8ee5bba5e8 100644 --- a/html/inc/forum.inc +++ b/html/inc/forum.inc @@ -484,7 +484,12 @@ function show_post($post, $thread, $logged_in_user, $n, $controls=FORUM_CONTROLS /*...*/ } if ($fstatus) echo "
$fstatus"; - + + echo "
", $user->id, ""; // Try and circumvent various forms of + // of identity spoofing by displaying the + // user id of the poster, its cheep, easy, + // and doesn't require any additional database + // calls. if (!$filter || !$rated_below_threshold){ echo "

"; if ($user->has_avatar and $logged_in_user->hide_avatars!=1)