diff --git a/.jshintignore b/.jshintignore index 3e6f7d5ed1..cbf6511d81 100644 --- a/.jshintignore +++ b/.jshintignore @@ -1,7 +1,7 @@ node_modules **/jquery* **/*.min.js -themes/default/scripts/qrcode.js -themes/default/scripts/sha256.js +themes/default/scripts/ext/qrcode.js +themes/default/scripts/ext/sha256.js themes/default/scripts/bbcode.js vendor/**/*.js diff --git a/SSI.php b/SSI.php index af87fa65b4..3c751ed764 100644 --- a/SSI.php +++ b/SSI.php @@ -1137,7 +1137,7 @@ function ssi_login($redirect_to = '', $output_method = 'echo') $context['default_username'] = isset($_POST['user']) ? preg_replace('~&#(\\d{1,7}|x[0-9a-fA-F]{1,6});~', '\\1;', htmlspecialchars($_POST['user'], ENT_COMPAT, 'UTF-8')) : ''; echo ' - '; + '; echo '