From 61fde53de04193e19380b4a2a27723a748909c90 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sun, 23 Jun 2019 09:56:18 +0200 Subject: [PATCH] adding IPv6 localhost to exceptions --- js/privatebin.js | 3 ++- tpl/bootstrap.php | 2 +- tpl/page.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/js/privatebin.js b/js/privatebin.js index c2085f9..8c9b609 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -4555,7 +4555,8 @@ jQuery.PrivateBin = (function($, RawDeflate) { // whitelist localhost for development if ( url.hostname === 'localhost' || - url.hostname === '127.0.0.1' + url.hostname === '127.0.0.1' || + url.hostname === '[::1]' ) { return false; } diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 45b231e..3e090f5 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -72,7 +72,7 @@ if ($MARKDOWN): endif; ?> - + diff --git a/tpl/page.php b/tpl/page.php index aaddba1..8c9f1b0 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -50,7 +50,7 @@ if ($MARKDOWN): endif; ?> - +