From 87f818b4ef8cae643e73185c3ded432977553d3d Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Thu, 29 Nov 2001 12:46:16 +0000 Subject: Fix bug #486674 and removed superfluous/commented lines for html treatment git-svn-id: file:///svn/phpbb/trunk@1477 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'phpBB/posting.php') diff --git a/phpBB/posting.php b/phpBB/posting.php index bdd0a0f54c..0c882e92bc 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -661,6 +661,7 @@ if( $cancel ) $redirect = "index.$phpEx"; $post_append = ""; } + header("HTTP/1.0 302 Redirect"); header("Location:" . append_sid($redirect) . $post_append, true); } // @@ -985,6 +986,7 @@ if( !$is_auth[$is_auth_type] ) break; } + header("HTTP/1.0 302 Redirect"); header("Location: " . append_sid("login.$phpEx?redirect=posting.$phpEx&" . $redirect, true)); } @@ -1822,6 +1824,7 @@ if( ( $submit || $confirm || $mode == "delete" ) && !$error ) } else { + header("HTTP/1.0 302 Redirect"); header("Location: " . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id", true)); } } @@ -2366,7 +2369,6 @@ else $post_message = preg_replace("/\:(([a-z0-9]:)?)$post_bbcode_uid/si", "", $post_message); $post_message = str_replace("
", "\n", $post_message); -// $post_message = preg_replace($html_entities_match, $html_entities_replace, $post_message); $post_message = preg_replace('##si', '</textarea>', $post_message); // -- cgit v1.2.1