• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7614: Test new CGI-4.13_02

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal New      

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


Lee Johnson at http://leejo.github.io/ notified me via e-mail of a CGI module change:

> I will be releasing a version of CGI.pm shortly that may impact your code. More information can be seen in this blog post and the links therein:
> http://blogs.perl.org/users/lee_j/2015/02/removing-autoload-from-cgipm.html

This needs to be tested with TWiki.

-- TWiki:Main/PeterThoeny - 2015-02-24

There are other changes in CGI.pm that you may want to be aware of if you're not watching too closely. The big one is that, as of perl 5.22 (sometime this year), CGI.pm will no longer be a core perl module so users will have to install it manually. In all likelihood most OS vendors will probably still package it up and ship it with the system perl, however it's something to consider.

Here's a 5 minute talk i gave last year on the upcoming changes in CGI.pm: https://www.youtube.com/watch?v=BBYag43ojjM

-- TWiki:Main.LeeJo - 2015-02-24

Thanks, Lee, for this information!

I'd think the upcoming changes are not only a matter of testing. We had quite a confusion about "Warning - calling param() in list context can lead to vulnerabilities" in TWiki, though these calls to param() were intentional, correct, and according to the docs. The reason was that people somehow caught the information that CGI.pm will be removed from the core and installed it from github. They did so though they had been running quite old versions of Perl, with a perfectly working CGI.pm. I don't object to the change in CGI.pm, but we need to factor in the habits of change management in the Perl community.

So we know there will be changes in CGI.pm, and I agree that there are excellent reasons to do these changes (removing the HTML generation stuff in particular). But we also know that people will continue to use various versions of Perl, if only because the Linux distributions offer so many different versions (what's in current Red Hat? I bet it is not 5.20), therefore various versions of CGI.pm. And we know that TWiki is using stuff that is no longer considered good practice (the HTML generation stuff in particular).

For discussion, I have opened a feature request: TWiki:Codev/AddCGIpmToTWikiCore.

-- TWiki:Main.HaraldJoerg - 2015-02-24

Summary Test new CGI-4.13_02
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4, 6.0.1
SVN Range TWiki-6.0.1-trunk, Wed, 18 Feb 2015, build 28744
AppliesTo Engine

Priority Normal
CurrentState New




Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2015-02-24 - HaraldJoerg
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback