- web: escape text on edit thread title

svn path=/trunk/boinc/; revision=15687
This commit is contained in:
David Anderson 2008-07-27 02:08:35 +00:00
parent 283a785c0f
commit 79e227e5e5
2 changed files with 7 additions and 1 deletions

View File

@ -5978,3 +5978,9 @@ David 25 July 2008
assimilator.C
tools/
pymw_setup
David 25 July 2008
- web: escape text on edit thread title
html/user/
forum_moderate_thread_action.php

View File

@ -71,7 +71,7 @@ case "move":
$action_name = "moved from $forum->title to $new_forum->title";
break;
case "title":
$title = post_str('newtitle');
$title = process_user_text(post_str('newtitle'));
$result = $thread->update("title='$title'");
$action_name = "renamed from '$thread->title' to '$title'";
break;