diff --git a/checkin_notes b/checkin_notes
index eb5e6143f3..8547b2aa95 100755
--- a/checkin_notes
+++ b/checkin_notes
@@ -8113,3 +8113,27 @@ Gary 04 Dec 2003
Gary 04 Dec 2003
- BOINC release 2.13 for windows, Linux, solaris2.7, solaris2.8
+David 4 Dec 2003
+ - Use a different PHP HTML filter; the old one was buggy.
+ - Add HTML filtering of user-supplied text
+ (user profiles, message boards, etc.)
+ NOTE: should be explicit about what things
+ cannot contain ANY html tags
+ (user names, team names)
+ what about team descriptions? user URLs etc.
+ NOTE: someone should figure out exactly where we should
+ be using stripslashes() and addslashes().
+
+ html_user/
+ htmlfilter.inc (removed)
+ profile.inc
+ sanitize_html.inc
+ team.inc
+ time.inc
+ kses.php (new)
+ forum/
+ edit.php
+ forum.inc
+ forum.php
+ index.php
+ reply.php
diff --git a/html/forum/edit.php b/html/forum/edit.php
index 6db4ba2b23..0b5ff71547 100644
--- a/html/forum/edit.php
+++ b/html/forum/edit.php
@@ -4,13 +4,13 @@ require_once('forum.inc');
require_once('../util.inc');
if ($_POST['submit']) {
-
- if (empty($_GET['id'])) {
- // TODO: Standard error page
- echo "Invalid post ID.
";
- exit();
- }
-
+
+ if (empty($_GET['id'])) {
+ // TODO: Standard error page
+ echo "Invalid post ID.
";
+ exit();
+ }
+
$post = getPost($_GET['id']);
$thread = getThread($post->thread);
@@ -24,14 +24,14 @@ $logged_in_user = get_logged_in_user();
page_head('Forum', $logged_in_user, NULL, 'forum.css');
if (!empty($_GET['id'])) {
- $post = getPost($_GET['id']);
- $thread = getThread($post->thread);
- $forum = getForum($thread->forum);
- $category = getCategory($forum->category);
+ $post = getPost($_GET['id']);
+ $thread = getThread($post->thread);
+ $forum = getForum($thread->forum);
+ $category = getCategory($forum->category);
} else {
- // TODO: Standard error page
- echo "No post was specified.
";
- exit();
+ // TODO: Standard error page
+ echo "No post was specified.
";
+ exit();
}
if ($logged_in_user->id != $post->user) {
@@ -47,15 +47,15 @@ echo "