Skip to content
Permalink
Browse files

sanitize input

  • Loading branch information
SQL-enwiki committed Nov 20, 2019
1 parent f14b7a7 commit efc861d5628f3cad4bacbdf735d788bfcd276697
Showing with 2 additions and 0 deletions.
  1. +2 −0 public_html/index.php
@@ -337,6 +337,8 @@ function checkSorbs( $ip ) {
if( isset( $theip ) ) { $ip = $theip; } else { $ip = $_GET['ip']; }
$ip = ltrim( rtrim ( $ip ) );
if ( $ip == '' || inet_pton( $ip ) === FALSE ) {
echo $twig->render( 'base.html.twig', [
'username' => $username,

0 comments on commit efc861d

Please sign in to comment.
You can’t perform that action at this time.