Skip to content

Commit 611d9f8

Browse files
committed
Add escaping to polling template
1 parent 91046e9 commit 611d9f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

view/base/templates/script/polling.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ if ($interval < 500) {
6666
.catch(error => {
6767
Alpine.store('Message').addErrorMessage(error);
6868
});
69-
}, <?= $interval ?>);
69+
}, <?= $escaper->escapeHtml($interval) ?>);
7070
})();
7171
</script>

0 commit comments

Comments
 (0)