diff --git a/app/init.php b/app/init.php index 8938aeda45..dbe3e7f5b0 100644 --- a/app/init.php +++ b/app/init.php @@ -51,7 +51,8 @@ Resque::setBackend($redisHost.':'.$redisPort); define('COOKIE_DOMAIN', ( $request->getServer('HTTP_HOST', null) === 'localhost' || - $request->getServer('HTTP_HOST', null) === 'localhost:'.$port + $request->getServer('HTTP_HOST', null) === 'localhost:'.$port || + (filter_var($request->getServer('HTTP_HOST', null), FILTER_VALIDATE_IP) !== false) ) ? null : '.'.parse_url($scheme.'://'.$request->getServer('HTTP_HOST', ''), PHP_URL_HOST)); diff --git a/app/sdks/dart/.packages b/app/sdks/dart/.packages index 735cb81639..8b327e4ec1 100644 --- a/app/sdks/dart/.packages +++ b/app/sdks/dart/.packages @@ -1,4 +1,4 @@ -# Generated by pub on 2019-12-05 07:29:22.979822. +# Generated by pub on 2019-12-05 18:55:11.878585. charcode:file:///Users/eldadfux/.pub-cache/hosted/pub.dartlang.org/charcode-1.1.2/lib/ collection:file:///Users/eldadfux/.pub-cache/hosted/pub.dartlang.org/collection-1.14.12/lib/ cookie_jar:file:///Users/eldadfux/.pub-cache/hosted/pub.dartlang.org/cookie_jar-1.0.1/lib/ diff --git a/app/views/home/auth/signup.phtml b/app/views/home/auth/signup.phtml index 40caeeb55b..591cb89dd3 100644 --- a/app/views/home/auth/signup.phtml +++ b/app/views/home/auth/signup.phtml @@ -3,7 +3,7 @@ Sign Up - + * All fields are required @@ -20,7 +20,7 @@ - +