From c67fb79fecb23454b406372e652eb18bc3e59dd3 Mon Sep 17 00:00:00 2001 From: Stanislas Kita <7335054+stonebuzz@users.noreply.github.com> Date: Fri, 4 Sep 2026 09:24:15 +0200 Subject: [PATCH] Fix(Core): Remove dead webservices hook registration (backport #87) Backports the applicable part of #87 from main to 10.0/bugfixes. The displayText() SSRF/IDOR fix and the symfony/yaml bump from #87 do not apply here: v10 never received the embedded-document-image feature that fix targets, and stays on symfony/yaml ^5.4 (main moved to ^7.4), so neither piece has an equivalent on this branch. --- CHANGELOG.md | 6 ++++++ setup.php | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41a071bc..3637eef0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] + +### Fixed + +- Remove dead webservices hook registration + ## [4.0.4] - 2026-07-31 ### Fixed diff --git a/setup.php b/setup.php index 1f804a9a..deb32f1b 100644 --- a/setup.php +++ b/setup.php @@ -101,9 +101,6 @@ function plugin_init_pdf() // End init, when all types are registered by all plugins $PLUGIN_HOOKS['post_init']['pdf'] = 'plugin_pdf_postinit'; - - // Integration with WebService plugin - $PLUGIN_HOOKS['webservices']['pdf'] = 'plugin_pdf_registerMethods'; }