From cceb4a080f63a54ce61c69c4affc44bfba53a9c3 Mon Sep 17 00:00:00 2001 From: Rom1-B <8530352+Rom1-B@users.noreply.github.com> Date: Tue, 10 Nov 2026 15:55:22 +0100 Subject: [PATCH] feat: make plugin CSP compliant --- CHANGELOG.md | 4 ++++ setup.php | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f087d4b..e5168c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [UNRELEASED] +### Changed + +- Make the plugin compatible with the Content Security Policy + ### Fixed - Fix hidden question not available in anonymous forms diff --git a/setup.php b/setup.php index ba4f51f..66f1934 100644 --- a/setup.php +++ b/setup.php @@ -93,6 +93,7 @@ function plugin_version_advancedforms(): array 'author' => 'Teclib\'', 'license' => '', 'homepage' => '', + 'csp_compliant' => true, 'requirements' => [ 'glpi' => [ 'min' => PLUGIN_ADVANCEDFORMS_MIN_GLPI_VERSION,