diff --git a/js/privatebin.js b/js/privatebin.js index 4729128b..21676bf9 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -2424,7 +2424,7 @@ jQuery.PrivateBin = (function($, RawDeflate) { // escape HTML entities, link URLs, sanitize const escapedLinkedText = Helper.urls2links( - Helper.htmlEntities(text) + Helper.htmlEntities(text).split('/').join('/') ), sanitizedLinkedText = DOMPurify.sanitize(escapedLinkedText); $plainText.html(sanitizedLinkedText); diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index e2d9bc08..c777171f 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 99f73cd5..126c2a5f 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -50,7 +50,7 @@ endif; ?> - +