]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
header.pl: Escape titles for openbox()
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 20 May 2026 15:00:33 +0000 (16:00 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 20 May 2026 15:21:41 +0000 (15:21 +0000)
Reported-by: valent1 <gooads612@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/header.pl

index 6e65f4137ccb0c3924d4e6b9a89167ac95854bc2..a1a39bb4e654418bd9c2c1c28f81bf03aca23c31 100644 (file)
@@ -336,7 +336,8 @@ sub openbox {
        my $width = shift;
        my $align = shift;
 
-       my $title = shift;
+       # Escale the title
+       my $title = &Header::escape(shift);
 
        my @classes = ("section", "is-box", @_);