@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | 'bgpview' => 'https://bgpview.io/ip/%DATA%' |
| 14 | 14 | ); |
| 15 | 15 | |
| 16 | -if(!isset($_GET['tool']) |
|
| 16 | +if (!isset($_GET['tool']) |
|
| 17 | 17 | || !isset($toolList[$_GET['tool']]) |
| 18 | 18 | || !isset($_GET['data']) |
| 19 | 19 | ) |
@@ -23,8 +23,8 @@ discard block |
||
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | if (isset($_GET['round2'])) { |
| 26 | - echo '<script>window.location.href=' . json_encode(str_replace("%DATA%", urlencode($_GET['data']), $toolList[$_GET['tool']])) . '</script>'; |
|
| 26 | + echo '<script>window.location.href='.json_encode(str_replace("%DATA%", urlencode($_GET['data']), $toolList[$_GET['tool']])).'</script>'; |
|
| 27 | 27 | } |
| 28 | 28 | else { |
| 29 | - header("Location: " . $_SERVER["REQUEST_URI"] . "&round2=true"); |
|
| 29 | + header("Location: ".$_SERVER["REQUEST_URI"]."&round2=true"); |
|
| 30 | 30 | } |