View | Details | Raw Unified | Return to bug 257675 | Differences between
and this patch

Collapse All | Expand All

(-)site_login/index.php (+10 lines)
Lines 61-67 Link Here
61
				setcookie("TAKEMEBACK", $takemeback, 0, "/", ".eclipse.org");
61
				setcookie("TAKEMEBACK", $takemeback, 0, "/", ".eclipse.org");
62
			}
62
			}
63
			
63
			
64
			
65
			# Redirect
66
			if(strtoupper($_SERVER['SERVER_PROTOCOL']) == "HTTP/1.0") {
67
				# Do nothing -- the location header will send a 302 redirect 
68
			}
69
			else {
70
				header("HTTP/1.1 303 See Other");
71
			}
72
			
64
			header("Location: http://www.eclipse.org/friends/welcomeback.php");
73
			header("Location: http://www.eclipse.org/friends/welcomeback.php");
74
			echo "<html><head><title>Moved</title></head><body><h1>30x Moved</h1>This page has moved <a href='http://www.eclipse.org/friends/welcomeback.php'>here</a></body></html>";
65
			exit;
75
			exit;
66
		}
76
		}
67
		else {
77
		else {

Return to bug 257675