From 4e5e1c36af9687c173d2c27c93b08e378bc2476d Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sat, 31 May 2008 19:02:45 +0000 Subject: [PATCH] fix PLP::everything() wrapper CGI initiator everything() was moved in 96959bff080392067524996e6edbf954 (move backend interface modules into PLP::Backend:: namespace) and made a method, but backwards compatibility wrapper doesn't call it as such. This breaks old plp.cgi scripts, completely negating the purpose of this feature. --- Changes | 1 + lib/PLP.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 8d493cd..da4c3e2 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,4 @@ +- Fix everything() wrapper (broke pre-3.20 CGI scripts on 3.20) - Add charset to Content-Type header for UTF-8 output - Test pod coverage - %header values containing newlines will be sent as multiple fields diff --git a/lib/PLP.pm b/lib/PLP.pm index 37d95b1..b9e3b7e 100644 --- a/lib/PLP.pm +++ b/lib/PLP.pm @@ -83,7 +83,7 @@ sub error { # Wrap old request handlers. sub everything { require PLP::Backend::CGI; - PLP::Backend::CGI::everything(); + PLP::Backend::CGI->everything(); } sub handler { require PLP::Backend::Apache; -- 2.30.0