Wordpress 2.3.2
[autoinstalls/wordpress.git] / wp-pass.php
index e1cb4e055e1ac0d6e4fa8dee945e66fd14f845bd..709a63b07ff293f24cacf690ce850b385ceb20ab 100644 (file)
@@ -7,5 +7,5 @@ if ( get_magic_quotes_gpc() )
 // 10 days
 setcookie('wp-postpass_' . COOKIEHASH, $_POST['post_password'], time() + 864000, COOKIEPATH);
 
-wp_redirect(wp_get_referer());
+wp_safe_redirect(wp_get_referer());
 ?>
\ No newline at end of file