Skip to content

Commit cc70ed2

Browse files
Escape HTML
1 parent 1113796 commit cc70ed2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ function URL_check(string $url): string {
105105
// Render the template
106106
echo $twig->render('index.html.twig', [
107107
'config' => $config,
108+
'autoescape' => 'html',
108109
]);
109110

110111
?>

0 commit comments

Comments
 (0)