From dd4a18c6ff31871ac1f1a450eaefbe2250f9ab57 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Tue, 7 Apr 2020 15:15:30 -0600 Subject: [PATCH] Add nonce --- public/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.php b/public/index.php index bafc8aa..2c11f2a 100644 --- a/public/index.php +++ b/public/index.php @@ -23,9 +23,9 @@ require_once __DIR__ . "/../lib/required_public.php"; // Allow setting the page background to match the style of a parent frame if (isset($_GET["backgroundcolor"]) && !empty($_GET["backgroundcolor"]) && preg_match("/^[a-z0-9#\-]+$/i", $_GET["backgroundcolor"])) { ?> -