diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-11-29 12:46:16 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-11-29 12:46:16 +0000 |
| commit | 87f818b4ef8cae643e73185c3ded432977553d3d (patch) | |
| tree | 6f2f3c962bde7d8083996171be58a95b0faa0070 /phpBB/posting.php | |
| parent | f0b14e59eec46323eb78af1872955fa8e086f507 (diff) | |
| download | forums-87f818b4ef8cae643e73185c3ded432977553d3d.tar forums-87f818b4ef8cae643e73185c3ded432977553d3d.tar.gz forums-87f818b4ef8cae643e73185c3ded432977553d3d.tar.bz2 forums-87f818b4ef8cae643e73185c3ded432977553d3d.tar.xz forums-87f818b4ef8cae643e73185c3ded432977553d3d.zip | |
Fix bug #486674 and removed superfluous/commented lines for html treatment
git-svn-id: file:///svn/phpbb/trunk@1477 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 4 |
1 files changed, 3 insertions, 1 deletions
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("<br />", "\n", $post_message); -// $post_message = preg_replace($html_entities_match, $html_entities_replace, $post_message); $post_message = preg_replace('#</textarea>#si', '</textarea>', $post_message); // |
