blob: e224ed2152174ef08e3ac21a77875a182bded438 [file] [log] [blame]
<?php
/*******************************************************************************
* Copyright (c) 2012-2015 Eclipse Foundation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Denis Roy (Eclipse Foundation)- initial API and implementation
* Christopher Guindon (Eclipse Foundation) - Bug 432355 - Update l&f of the Eclipse site login
*******************************************************************************/
$url = 'https://accounts.eclipse.org';
if (!empty($_GET['takemeback']) && filter_var($_GET['takemeback'], FILTER_VALIDATE_URL) !== FALSE) {
$url .= '?takemeback=' . urlencode($_GET['takemeback']);
}
header("Location: " . $url, 301);
exit();