| @@ 10-15 (lines=6) @@ | ||
| 7 | header("Location: https://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]); |
|
| 8 | exit(); |
|
| 9 | } |
|
| 10 | if(strpos($_SERVER['REQUEST_URI'], '//') !== false) |
|
| 11 | { |
|
| 12 | $uri = str_replace('//', '/', $_SERVER['REQUEST_URI']); |
|
| 13 | header("Location: https://".$_SERVER["HTTP_HOST"].$uri); |
|
| 14 | exit(); |
|
| 15 | } |
|
| 16 | require_once('class.FlipsideCAPTCHA.php'); |
|
| 17 | require_once('class.ProfilesPage.php'); |
|
| 18 | $page = new ProfilesPage('Burning Flipside Profiles Registration'); |
|
| @@ 2-7 (lines=6) @@ | ||
| 1 | <?php |
|
| 2 | if(strpos($_SERVER['REQUEST_URI'], '//') !== false) |
|
| 3 | { |
|
| 4 | $uri = str_replace('//', '/', $_SERVER['REQUEST_URI']); |
|
| 5 | header("Location: https://".$_SERVER["HTTP_HOST"].$uri); |
|
| 6 | exit(); |
|
| 7 | } |
|
| 8 | ini_set('display_errors', 1); |
|
| 9 | error_reporting(E_ALL); |
|
| 10 | require_once('class.ProfilesPage.php'); |
|