summaryrefslogtreecommitdiff
path: root/cpan/CGI
Commit message (Collapse)AuthorAgeFilesLines
* Update CGI to CPAN version 3.55Chris 'BinGOs' Williams2011-07-093-7/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | [DELTA] Version 3.55 June 3rd, 2011 [THINGS THAT MAY BREAK YOUR CODE] url() was fixed to return "PATH_INFO" when it is explicitly requested with either the path=>1 or path_info=>1 flag. If your code is running under mod_rewrite (or compatible) and you are calling self_url() or you are calling url() and passing path_info=>1, These methods will actually be returning PATH_INFO now, as you have explicitly requested, or has self_url() has requested on your behalf. The PATH_INFO has been omitted in such URLs since the issue was introduced in the 3.12 release in December, 2005. This bug is so old your application may have come to depend on it or workaround it. Check for application before upgrading to this release. Examples of affected method calls: $q->url(-absolute => 1, -query => 1, -path_info => 1 ) $q->url(-path=>1) $q->url(-full=>1,-path=>1) $q->url(-rewrite=>1,-path=>1) $q->self_url();
* CGI: Reset permissions during temporary directory test so Win32 can remove.George Greer2011-06-161-1/+1
| | | | | | | The 'tmpdir.t' test leaves the permissions of the directories at 0500, which translates into setting the 'read-only' bit in Win32-speak. That makes the 'rmdir' in the END block fail (silently) and thus the test is very unhappy the next time through. It is easy enough to just run the test twice to see.
* Updated CGI to CPAN version 3.54Chris 'BinGOs' Williams2011-06-095-142/+234
| | | | | | | | | | | | | | | | | | | | | | | [DELTA] Version 3.54, Apr 28, 2011 No code changes [INTERNALS] - Address test failures in t/tmpdir.t, thanks to Niko Tyni. Some tests here are failing on some platforms and have been marked as TODO. Version 3.53, Apr 25, 2011 [NEW FEATURES] - The DELETE HTTP verb is now supported. (RT#52614, James Robson, Eduardo Ari�o de la Rubia) [INTERNALS] - Correct t/tmpdir.t MANIFEST entry. (RT#64949) - Update minimum required Perl version to be Perl 5.8.1, which has been out since 2003. This allows us to drop some hacks and exceptions (Mark Stosberg)
* Update CGI to CPAN version 3.52Chris 'BinGOs' Williams2011-01-252-10/+18
| | | | | | | | | | | | | | | [DELTA] Version 3.52 [DOCUMENTATION] - The documentation for multi-line header handling was been updated to reflect the changes in 3.51. (Mark Stosberg, ntyni@iki.fi) [INTERNALS] - Add missing t/tmpfile.t file. (RT#64949) - Fix warning in t/cookie.t (RT#64570, Chris Williams, Rainer Tammer, Mark Stosberg) - Fixed logic bug in t/multipart_init.t (RT#64261, Niko Tyni)
* [PATCH] Minor problem in cookie.tRainer Tammer2011-01-071-3/+3
| | | | Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
* Update CGI to CPAN version 3.51Chris 'BinGOs' Williams2011-01-0513-253/+573
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [DELTA] Version 3.51 [NEW FEATURES] - A new option to set $CGI::Carp::TO_BROWSER = 0, allows you to explicitly exclude a particular scope from triggering printing to the browser when fatatlsToBrowser is set. (RT#62783, Thanks to papowell) - The <script> tag now supports the "charset" attribute. (RT#62907, Thanks to Fabrice Metge) - In CGI::Cookie, "Max-Age" is now supported for better spec compliance. (Mark Stosberg) [BUG FIXES] - Setting charset() now works for all content types, not just "text/*". (RT#57945, Thanks to Yanick and Gerv.) - support for user temporary directories ($HOME/tmp) was commented out in 2.61 but the documentation wasn't updated (Peter Gervai, Niko Tyni) - setting $CGITempFile::TMPDIRECTORY before loading CGI.pm has been working but undocumented since 3.12 (which listed it in Changes as $CGI::TMPDIRECTORY) (Peter Gervai, Niko Tyni) - unfortunately the previous change broke the runtime check for looking for a new temporary directory if the current one suddenly became unwritable (Peter Gervai, Niko Tyni) - A bug was fixed in CGI::Carp triggered by certain death cases in the BEGIN phase of parent classes. (RT#57224, Thanks to UNERA, Yanick Champoux, Mark Stosberg) - CGI::Cookie->new() now follows the documentation and returns undef if the -name and -value args aren't provided. This new behavior is also consistent with the docs and code of CGI::Simple::Cookie. (Mark Stosberg) - CGI::Cookie->parse() now trims leading and trailing whitespace from cookie elements as intended. The change also makes this part of the parsing identical to CGI::Simple::Cookie (Mark Stosberg) - Temp file handling was improved (RT#62762) [SECURITY] - Further improvements have been made to guard against newline injections in headers. (Thanks to Max Kanat-Alexander, Yanick Champoux, Mark Stosberg) [PERFORMANCE] - Make EBCDIC a compile-time constant so there's zero overhead (and less compiled code) in subroutines that test for it. (Tim Bunce) - If you just want to use CGI::Cookie, CGI.pm will no longer be loaded unless you call the bake() method, which requires it. (Mark Stosberg) [DOCUMENTATION] - quit referring to the <link> tag as being "rarely used". (Victor Sanders) - typo and whitespace fixes (RT#62785, thanks to scop@cpan.org) - The -dtd argument to start_html() is now documented (RT#60473, Thanks to giecrilj and steve@fisharerojo.org) - CGI::Carp doc are updated to reflect that it can work with mod_perl 2.0. - when creating a temporary file in the directory fails, the error message could indicate the root of the problem better (Peter Gervai, Niko Tyni) [INTERNALS] - Re-fixing https test in http.t. (RT#54768, thanks to SPROUT) - param_fetch no longer triggers a warning when called with no arguments (ysth, Mark Stosberg)
* Get cpan/CGI/t/http.t working on VMS againFather Chrysostomos2010-11-161-3/+6
| | | | | | | This stopped working with the 84601d63a (the 3.50 upgrade). This patch was not applied to the CGI.pm repository until after the new release.
* Update CGI.pm to CPAN version 3.50Chris 'BinGOs' Williams2010-11-094-24/+57
| | | | | | | | | | | | | | | | | | | | | | [DELTA] Version 3.50 [SECURITY] 1. The MIME boundary in multipart_init is now random. Thanks to Byron Jones, Masahiro Yamada, Reed Loden, and Mark Stosberg 2. Further improvements to handling of newlines embedded in header values. An exception is thrown if header values contain invalid newlines. Thanks to Michal Zalewski, Max Kanat-Alexander, Yanick Champoux, Lincoln Stein, Fr�d�ric Buclin and Mark Stosberg [DOCUMENTATION] 1. Correcting/clarifying documentation for param_fetch(). Thanks to Ren�e B�cker. (RT#59132) [INTERNALS] 1. Fixing https test in http.t. (RT#54768) 2. Tests were added for multipart_init(). Thanks to Mark Stosberg and CGI::Simple.
* Make cpan/CGI/t/http.t (hopefully) compatible with VMSFather Chrysostomos2010-10-141-3/+4
| | | | I will submit a similar patch upstream in a few days.
* Stop cpan/CGI/t/http.t from failingFather Chrysostomos2010-10-131-0/+2
| | | | | | | | A similar patch has been applied upstream. This will be overwritten when the next CGI.pm is merged into blead, but at least we can get the tests passing for now. This does not affect any installed files.
* Global executable bit cleanupDavid Golden2010-07-243-0/+0
| | | | | | | | | | | | | | | | | | | | When porting/makerel runs, all files copied into the directory for the tarball have the executable bit stripped and then only a specific set of files have the executable bit restored. There are many files in the repo that have the executable bit set in the repo that will be stripped. So that the state of files in the repo is as close as possible to the state of files in the release tarball, the executable bit has been stripped from such files. In one recent case, a file added from a dual-life module needed the executable bit set. Because it had the bit in the repo but was not listed in makerel to get an executable bit, tests using it passed in the repo and failed in the tarball. This commit refactors the list into a new file, Porting/exec-bit.txt and add tests to detect a mismatch between files listed there and actual executable bits in the repo.
* Upgrade to CGI.pm 3.49Rafael Garcia-Suarez2010-04-159-80/+268
|
* Exclude CGI/t/fast.t from the core, as it relies on FCGI, which is not in core.Nicholas Clark2009-10-111-39/+0
| | | | | | | Whilst the test is designed to skip if FCGI is not present, that logic is now broken, and even if it were fixed, the as-implemented skip count is now wrong. We're never going to run this test, as core tests run with just the core's libraries in @INC, so I see no reason to ship it.
* Upgrade to CGI.pm-3.48Steve Hay2009-10-1142-538/+1176
|
* Replace UU encoded files in CGI with their binary originalsSteve Hay2009-10-115-112/+0
| | | | | There is no longer any need to avoid having binary files in the perl distribution, and these files are not UU encoded in CGI on CPAN.
* Move CGI's Changes file to its proper placeSteve Hay2009-10-111-0/+0
|
* Move CGI from ext/ to cpan/Nicholas Clark2009-10-0158-0/+15099