From 7655674322f26fbf3dc0955b483d4a692ba62f92 Mon Sep 17 00:00:00 2001 From: Dan Fabulich Date: Mon, 21 Sep 2026 14:42:23 -0700 Subject: [PATCH] Fix CI failure CI pulled `HTML::FormHandler` 0.410002 (released Sept 7), which HTML-encodes Bootstrap3 field errors for CVE-2026-85485. The apostrophe in the rejection message becomes `'`, so the old regex no longer matches. --- IFComp/t/controller_Entry.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/IFComp/t/controller_Entry.t b/IFComp/t/controller_Entry.t index 8a1dd58f..80c0883b 100644 --- a/IFComp/t/controller_Entry.t +++ b/IFComp/t/controller_Entry.t @@ -176,7 +176,9 @@ $mech->submit_form_ok( }, ); $mech->content_like( - qr/doesn't appear to be a valid PNG or JPEG/, + + # HTML::FormHandler >= 0.410002 HTML-encodes field errors (CVE-2026-85485) + qr/doesn(?:'|')t appear to be a valid PNG or JPEG/, "Pushing back on a bad-image upload.", );