Skip to content

Commit

Permalink
Merge #18026 - Fix #17365 - Uncaught Error: regexp too big
Browse files Browse the repository at this point in the history
Pull-request: #18026
Fixes: #17365

Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Jan 25, 2023
2 parents bbd4b55 + 93e701b commit 500b7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/server/status/variables.js
Expand Up @@ -43,7 +43,7 @@ AJAX.registerOnload('server/status/variables.js', function () {

$('#filterText').on('keyup', function () {
var word = $(this).val().replace(/_/g, ' ');
if (word.length === 0) {
if (word.length === 0 || word.length >= 32768) {
textFilter = null;
} else {
try {
Expand Down

0 comments on commit 500b7b4

Please sign in to comment.