From 42130e0468f85ab0990b4f7cf27150130c26c016 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 18 Jan 2020 10:53:58 +0100 Subject: [PATCH] prevent potentially non-encoded string from getting returned --- js/privatebin.js | 1 + tpl/bootstrap.php | 2 +- tpl/page.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/js/privatebin.js b/js/privatebin.js index fda2d563..1444007e 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -662,6 +662,7 @@ jQuery.PrivateBin = (function($, RawDeflate) { // text node takes care of entity encoding $element.text(output); } + return ''; } return output; diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 04f05941..8f6241e8 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -72,7 +72,7 @@ endif; ?> - + diff --git a/tpl/page.php b/tpl/page.php index c83374ba..7a7ddb2b 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -50,7 +50,7 @@ endif; ?> - +