fix: disallow non-strings in GET parameters (#2908)

This commit is contained in:
Dag 2022-07-10 19:50:51 +02:00 committed by GitHub
parent 003ab58514
commit c33f84fcc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 13 deletions

View file

@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="RSS-Bridge" />
<title><?= e($title ?? 'RSS-Bridge') ?></title>
<title><?= e($_title ?? 'RSS-Bridge') ?></title>
<link href="static/style.css" rel="stylesheet">
<link rel="icon" type="image/png" href="static/favicon.png">
</head>

View file

@ -1,6 +1,9 @@
<div style="width: 60%; margin: 30px auto">
<h1>Something went wrong</h1>
<h1>
<?= e($title ?? 'Something went wrong') ?>
</h1>
<br>
<?= e($message) ?>
<br>