From 558959d4d7dcceff000fd5861f2f46451ebbd8a9 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Mon, 1 Nov 2021 21:24:31 +0000 Subject: Ensure html is escaped --- src/templates/confirm_deletion.php | 2 +- src/templates/form_fields.php | 6 +++--- src/templates/index.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/templates/confirm_deletion.php b/src/templates/confirm_deletion.php index 0a800e5..06e133f 100644 --- a/src/templates/confirm_deletion.php +++ b/src/templates/confirm_deletion.php @@ -9,7 +9,7 @@ Back
- url.' '.$bookmark->title.' '.$bookmark->tag; ?> + url.' '.$bookmark->title.' '.$bookmark->tag); ?>
diff --git a/src/templates/form_fields.php b/src/templates/form_fields.php index cfacfda..3f54040 100644 --- a/src/templates/form_fields.php +++ b/src/templates/form_fields.php @@ -1,12 +1,12 @@ -
+
has('url')) { ?>

get('url')); ?>

-
+
has('title')) { ?>

get('title')); ?>

-
+
has('tag')) { ?>

get('tag')); ?>

diff --git a/src/templates/index.php b/src/templates/index.php index d246605..4f76614 100644 --- a/src/templates/index.php +++ b/src/templates/index.php @@ -12,7 +12,7 @@ Add -- cgit v1.2.3-13-gbd6f