configure tells me that I am "..using a version of $CGI that is know to have issues with Foswiki"

The full warning reads:
warning Warning: You are using a version of $CGI that is know to have issues with Foswiki. CGI should be upgraded to a version > 3.11, avoiding 3.37, 3.43, and 3.47.

This may happen even though your perl distribution is up-to-date using your operating system's package management.

One work-around is to use cpan to install the latest version of CGI directly from cpan.org, but this may not be possible in all environments and should be discouraged in favour of using your system's package manager to keep modules up-to-date.

Ubuntu 10.04 (lucid) - Debian 6.0 (squeeze)

By default, this distribution's core perl-modules package ships with CGI 3.43. There is a separate packaging of a later version of the CGI module in libcgi-pm-perl, which may be installed as follows:
sudo apt-get install libcgi-pm-perl

FreeBSD

On FreeBSD (7.x branch at least) the default perl installation includes CGI 3.43. You can upgrade to a later version that does not exhibit the aforementioned problems by installing the port p5-CGI.pm (in category www):
cd /usr/ports/www/p5-CGI.pm
make install

-- PaulHarvey - 16 May 2010

It seems the reason CGI.pm 3.43 is marked as problematic due to a bug which can result in double-utf8-encoded URL params. Generally, most people seem to be able to use CGI 3.43 without issue. It will cause problems if your {Site]{CharSet} is UTF-8.

-- PaulHarvey - 04 Aug 2011

Support.FAQForm edit

TopicClassification FrequentlyAskedQuestion
Subject Configure
Topic Summary Some OS distributions ship versions of the perl CGI library that are known to have issues with Foswiki
Extension
Interested Parties
Related Topics Tasks.Item2131
Topic revision: r6 - 07 May 2012, CesarGarcia
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy