Make redirects send 302 Found instead of 307 to suppress "confirm POST resend" dialog in firefox
authorDan Fuhry <dan@enanocms.org>
Mon, 19 Nov 2012 11:37:36 -0500
changeset 1370 24f5610ea589
parent 1369 cfce82063776
child 1371 d9814c4c2948
Make redirects send 302 Found instead of 307 to suppress "confirm POST resend" dialog in firefox
includes/functions.php
--- a/includes/functions.php	Mon Nov 19 11:37:02 2012 -0500
+++ b/includes/functions.php	Mon Nov 19 11:37:36 2012 -0500
@@ -589,7 +589,7 @@
 	{
 		header('Location: ' . $url);
 		header('Content-length: 0');
-		header('HTTP/1.1 307 Temporary Redirect');
+		header('HTTP/1.1 302 Found');
 		
 		// with 3xx codes HTTP clients expect a response of 0 bytes, so just die here
 		exit();