This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
e4699338c0e997d41183d43f7270e2c70099165d
[perl5.git] / lib / CGI / Changes
1   Version 3.11
2     1. Killed warning in CGI::Cookie about MOD_PERL_API_VERSION
3     2. Fixed append() so that it works in function mode.
4     3. Workaround for a bug that appears in Apache2 versions through 2.0.54 
5        in which SCRIPT_NAME and PATH_INFO are incorrect if the additional path_info
6        contains a double slash. This workaround will handle the common case of
7        http://mysite.com/cgi-bin/log.cgi/http://www.some.other.site/args, but will
8        not handle the uncommon case of a ScriptAlias directive that adds additional
9        path information to the end of the translated URI.
10
11   Version 3.10
12     1. Added Apache2::RequestIO, which is necessary for mp2 interoperability.
13
14   Version 3.09
15     1. Fixed tabindex="0" when using CGI to create forms without a prior start_html
16     2. Removed warning about non-numeric MOD_PERL_API_VERSION.
17
18   Version 3.08
19     1. update support for mod_perl 2.0.  versions prior to
20        mod_perl 1.999_22 (2.0.0-RC5) are no longer supported.
21
22   Version 3.07
23     1. Fixed typo in mod_perl detection.
24
25   Version 3.06
26
27     1. Fixed bare call to script() in start_html
28     2. Moved Fh::DESTROY out of autoloaded functions so as to avoid
29        clobbering $@ when CGI functions are executed in an eval{}
30        context.
31     3. mod_perl 2.0 version detection patch in CGI::Cookie provided by
32        Allen Day.
33     4. autoEscape() flag is now respected when generating extra
34        attributes.
35     5. Tests for *tag start/end generation from Shlomi Fish.
36     6. Support for can() method provided by Ron Savage.
37     7. Fix for lang='' when outputting XHTML.
38     8. Added support for chunked transfer encoding, as suggested by 
39         Hakan Ardo
40     9. Fixed clobbering of row and column headers in tableized radio
41         and checkbox groups, as reported by Nicolas Thierry-Mieg.
42    10. <Label> tags are now associated with form elements, as suggested
43         by accessibility guidelines.
44    11. The <?xml> directive produced by start_html is now turned off by
45         default and the charset is specified in a <meta> directive.  Apparently
46         IE6 (and maybe some versions of Opera) were getting confused by this.
47    12. Support for tab indexes.
48    13. Retired the HTML docs.  The POD docs are now primary documentation.
49    14. CGI::Carp now correctly detects and handles Apache::Dispatch.
50    15. CGI::Util::utf8_chr now correctly sets the UTF8 flag on 5.006 or
51         higher perls (fix courtesy Slaven Rezic).
52
53
54   Version 3.05
55
56     1. Fixed uninitialized variable warning on start_form() when running
57        from command line.
58     2. Fixed CGI::_set_attributes so that attributes with a - are handled
59        correctly.
60     3. Fixed CGI::Carp::die() so as to avoid problems from _longmess()
61        clobbering @_.
62     4. If HTTP_X_FORWARDED_HOST is defined (i.e. running under a proxy),
63        the various functions that return HOST will use that instead.
64     5. Fix for undefined utf8() call in CGI::Util.
65     6. Changed the call to warningsToBrowser() in
66        CGI::Carp::fatalsToBrowser to call only after HTTP header is sent
67        (thanks to Didier Lebrun for noticing).
68     7. Patches from Dan Harkless to make CGI.pm validatable against HTML
69        3.2.
70     8. Fixed an extraneous "foo=bar" appearing when extra style
71        parameters passed to start_html;
72     9. Fixed cross-site scripting bug in startform() pointed out by Dan
73        Harkless.
74    10. Fixed documentation to discuss list context behavior of
75        form-element generators explicitly.
76    11. Fixed incorrect results from end_form() when called in OO manner.
77    12. Fixed query string stripping in order to handle URLs containing
78        escaped newlines.
79    13. During server push, set NPH to 0 rather than 1. This is supposed
80        to fix problems with Apache.
81    14. Fixed incorrect processing of multipart form fields that contain
82        embedded quotes. There's still the issue of how to handle ones
83        that contain embedded semicolons, but no one has complained (yet).
84    15. Fixed documentation bug in -style argument to start_html()
85    16. Added -status argument to redirect().
86
87   Version 3.04
88
89     1. Fixed the problem with mod_perl crashing when "defaults" button
90        pressed.
91
92   Version 3.03
93
94     1. Fix upload hook functionality
95     2. Workaround for CGI->unescape_html()
96     3. Bumped version numbers in CGI::Fast and CGI::Util for 5.8.3-tobe
97
98   Version 3.02
99
100     1. Bring in Apache::Response just in case.
101     2. File upload on EBCDIC systems now works.
102
103   Version 3.01
104
105     1. No fix yet for upload failures when running on EBCDIC server.
106     2. Fixed uninitialized glob warnings that appeared when file
107        uploading under perl 5.8.2.
108     3. Added patch from Schlomi Fish to allow debugging of PATH_INFO from
109        command line.
110     4. Added patch from Steve Hay to correctly unlink tmp files under
111        mod_perl/windows
112     5. Added upload_hook functionality from Jamie LeTaul
113     6. Workarounds for mod_perl 2 IO issues. Check that file upload and
114        state saving still working.
115     7. Added code for underreads.
116     8. Fixed misleading description of redirect() and relative URLs in
117        the POD docs.
118     9. Workaround for weird interaction of CGI::Carp with Safe module
119        reported by William McKee.
120    10. Added patches from Ilmari Karonen to improve behavior of
121        CGI::Carp.
122    11. Fixed documentation error in -style argument.
123    12. Added virtual_port() method for finding out what port server is
124        listening on in a virtual-host aware fashion.
125
126   Version 3.00
127
128     1. Patch from Randal Schwartz to fix bug introduced by cross-site
129        scripting vulnerability "fix."
130     2. Patch from JFreeman to replace UTF-8 escape constant of 0xfe with
131        0xfc. Hope this is right!
132
133   Version 2.99
134
135     1. Patch from Steve Hay to fix extra Content-type: appearing on
136        browser screen when FatalsToBrowser invoked.
137     2. Patch from Ewann Corvellec to fix cross-site scripting
138        vulnerability.
139     3. Fixed tmpdir routine for file uploading to solve problem that
140        occurs under mod_perl when tmpdir is writable at startup time, but
141        not at session time.
142
143   Version 2.98
144
145     1. Fixed crash in Dump() function.
146
147   Version 2.97
148
149     1. Sigh. Uploaded wrong 2.96 to CPAN.
150
151   Version 2.96
152
153     1. More bugfixes to the -style argument.
154
155   Version 2.95
156
157     1. Fixed bugs in start_html(-style=>...) support introduced in 2.94.
158
159   Version 2.94
160
161     1. Removed warning from reset() method.
162     2. Moved
163
164    and tags into the :html3 group. Hope this removes undefined CGI::Area
165    errors.
166
167      Changed CGI::Carp to play with mod_perl2 and to (hopefully) restore
168    reporting of compile-time errors.
169
170      Fixed potential deadlock between web server and CGI.pm when aborting
171    a read due to POST_MAX (reported by Antti Lankila).
172
173      Fixed issue with tag-generating function not incorporating content
174    when first variable undef.
175
176      Fixed cross-site scripting bug reported by obscure.
177
178      Fixed Dump() function to return correctly formed XHTML - bug
179    reported by Ralph Siemsen.
180
181   Version 2.93
182
183     1. Fixed embarassing bug in mp1 support.
184
185   Version 2.92
186
187     1. Fix to be P3P compliant submitted from MPREWITT.
188     2. Added CGI->r() API for mod_perl1/mod_perl2.
189     3. Fixed bug in redirect() that was corrupting cookies.
190     4. Minor fix to behavior of reset() button to make it consistent with
191        submit() button (first time this has been changed in 9 years).
192     5. Patch from Dan Kogai to handle UTF-8 correctly in 5.8 and higher.
193     6. Patch from Steve Hay to make CGI::Carp's error messages appear on
194        MSIE browsers.
195     7. Added Yair Lenga's patch for non-urlencoded postings.
196     8. Added Stas Bekman's patches for mod_perl 2 compatibility.
197     9. Fixed uninitialized escape behavior submitted by William Campbell.
198    10. Fixed tied behavior so that you can pass arguments to tie()
199    11. Fixed incorrect generation of URLs when the path_info contains +
200        and other odd characters.
201    12. Fixed redirect(-cookies=>$cookie) problem.
202    13. Fixed tag generation bug that affects -javascript passed to
203        start_html().
204
205   Version 2.91
206
207     1. Attribute generation now correctly respects the value of
208        autoEscape().
209     2. Fixed endofrm() syntax error introduced by Ben Edgington's patch.
210
211   Version 2.90
212
213     1. Fixed bug in redirect header handling.
214     2. Added P3P option to header().
215     3. Patches from Alexey Mahotkin to make CGI::Carp work correctly with
216        object-oriented exceptions.
217     4. Removed inaccurate description of how to set multiple cookies from
218        CGI::Cookie pod file.
219     5. Patch from Kevin Mahony to prevent running out of filehandles when
220        uploading lots of files.
221     6. Documentation enhancement from Mark Fisher to note that the
222        import_names() method transforms the parameter names into valid
223        Perl names.
224     7. Patch from Dan Harkless to suppress lang attribute in <html> tag
225        if specified as a null string.
226     8. Patch from Ben Edgington to fix broken XHTML-transitional 1.0
227        validation on endform().
228     9. Custom html header fix from Steffen Beyer (first letter correctly
229        upcased now)
230    10. Added a -verbatim option to stylesheet generation from Michael
231        Dickson
232    11. Faster delete() method from Neelam Gupta
233    12. Fixed broken Cygwin support.
234    13. Added empty charset support from Bradley Baetz
235    14. Patches from Doug Perham and Kevin Mahoney to fix file upload
236        failures when uploaded file is a multiple of 4096.
237
238   Version 2.89
239
240     1. Fixed behavior of ACTION tag when POSTING to a URL that has a
241        query string.
242     2. Added Patch from Michael Rommel to handle multipart/mixed uploads
243        from Opera
244
245   Version 2.88
246
247     1. Fixed problem with uploads being refused under Perl 5.8 when under
248        Taint mode.
249     2. Fixed uninitialized variable warnings under Perl 5.8.
250     3. Fixed CGI::Pretty regression test failures.
251
252   Version 2.87
253
254     1. Security hole patched: when processing multipart/form-data
255        postings, most arguments were being untainted silently. Returned
256        arguments are now tainted correctly. This may cause some scripts
257        to fail that used to work (thanks to Nick Cleaton for pointing
258        this out and persisting until it was fixed).
259     2. Update for mod_perl 2.0.
260     3. Pragmas such as -no_xhtml are now respected in mod_perl
261        environment.
262
263   Version 2.86
264
265     1. Fixes for broken CGI::Cookie expiration dates introduced in 2.84.
266
267   Version 2.85
268
269     1. Fix for broken autoEscape function introduced in 2.84.
270
271   Version 2.84
272
273     1. Fix for failed file uploads on Cygwin platforms.
274     2. HTML escaping code now replaced 0x8b and 0x9b with unicode
275        references < and *#8250;
276
277   Version 2.83
278
279     1. Fixed autoEscape() documentation inconsistencies.
280     2. Patch from Ville Skyttä to fix a number of XHTML inconsistencies.
281     3. Added Max-Age to list of CGI::Cookie headers.
282
283   Version 2.82
284
285     1. Patch from Rudolf Troller to add attribute setting and option
286        groups to form fields.
287     2. Patch from Simon Perreault for silent crashes when using CGI::Carp
288        under mod_perl.
289     3. Patch from Scott Gifford allows you to set the program name for
290        CGI::Carp.
291
292   Version 2.81
293
294     1. Removed extraneous slash from end of stylesheet tags generated by
295        start_html in non-XHTML mode.
296     2. Changed behavior of CGI::Carp with respect to eval{} contexts so
297        that output behaves properly in mod_perl environments.
298     3. Fixed default DTD so that it validates with W3C validator.
299
300   Version 2.80
301
302     1. Fixed broken messages in CGI::Carp.
303     2. Changed checked="1" to checked="checked" for real XHTML
304        compatibility.
305     3. Resurrected REQUEST_URI code so that url() works correctly with
306        multiviews.
307
308   Version 2.79
309
310     1. Changes to CGI::Carp to avoid "subroutine redefined" error
311        messages.
312     2. Default DTD is now XHTML 1.0 Transitional
313     3. Patches to support all HTML4 tags.
314
315   Version 2.78
316
317     1. Added ability to change encoding in <?xml> assertion.
318     2. Fixed the old escapeHTML('CGI') ne "CGI" bug
319     3. In accordance with XHTML requirements, there are no longer any
320        minimized attributes, such as "checked".
321     4. Patched bug which caused file uploads of exactly 4096 bytes to be
322        truncated to 4094 (thanks to Kevin Mahony)
323     5. New tests and fixes to CGI::Pretty (thanks to Michael Schwern).
324
325   Version 2.77
326
327     1. No new features, but released in order to fix an apparent CPAN
328        bug.
329
330   Version 2.76
331
332     1. New esc.t regression test for EBCDIC translations courtesy Peter
333        Prymmer.
334     2. Patches from James Jurach to make compatible with FCGI-ProcManager
335     3. Additional fields passed to header() (like -Content_disposition)
336        now honor initial capitalization.
337     4. Patch from Andrew McNaughton to handle utf-8 escapes (%uXXXX
338        codes) in URLs.
339
340   Version 2.752
341
342     1. Syntax error in the autoloaded Fh::new() subroutine.
343     2. Better error reporting in autoloaded functions.
344
345   Version 2.751
346
347     1. Tiny tweak to filename regular expression function on line 3355.
348
349   Version 2.75
350
351     1. Fixed bug in server push boundary strings (CGI.pm and CGI::Push).
352     2. Fixed bug that occurs when uploading files with funny characters
353        in the name
354     3. Fixed non-XHTML-compliant attributes produced by textfield()
355     4. Added EPOC support, courtesy Olaf Flebbe
356     5. Fixed minor XHTML bugs.
357     6. Made escape() and unescape() symmetric with respect to EBCDIC,
358        courtesy Roca, Ignasi <ignasi.roca@fujitsu.siemens.es>
359     7. Removed uninitialized variable warning from CGI::Cookie, provided
360        by Atipat Rojnuckarin <rojnuca@yahoo.com>
361     8. Fixed bug in CGI::Pretty that causes it to print partial end tags
362        when the $INDENT global is changed.
363     9. Single quotes are changed to character entity ' for compatibility
364        with URLs.
365
366   Version 2.74
367
368    September 13, 2000
369     1. Quashed one-character bug that caused CGI.pm to fail on file
370        uploads.
371
372   Version 2.73
373
374    September 12, 2000
375     1. Added -base to the list of arguments accepted by url().
376     2. Fixes to XHTML support.
377     3. POST parameters no longer show up in the Location box.
378
379   Version 2.72
380
381    August 19, 2000
382     1. Fixed the defaults button so that it works again
383     2. Charset is now correctly saved and restored when saving to files
384     3. url() now works correctly when given scripts with %20 and other
385        escapes in the additional path info. This undoes a patch
386        introduced in version 2.47 that I no longer understand the
387        rationale for.
388
389   Version 2.71
390
391    August 13, 2000
392     1. Newlines in the value attributes of hidden fields and other form
393        elements are now escaped when using ISO-Latin.
394     2. Inline script and style sections are now protected as CDATA
395        sections when XHTML mode is on (the default).
396
397   Version 2.70
398
399    August 4, 2000
400     1. Fixed bug in scrolling_list() which omitted a space in front of
401        the "multiple" attribute.
402     2. Squashed the "useless use of string in void context" message from
403        redirects.
404
405   Version 2.69
406
407     1. startform() now creates default ACTION for POSTs as well as GETs.
408        This may break some browsers, but it no longer violates the HTML
409        spec.
410     2. CGI.pm now emits XHTML by default. Disable with -no_xhtml.
411     3. We no longer interpret &#ddd sequences in non-latin character
412        sets.
413
414   Version 2.68
415
416     1. No longer attempts to escape characters when dealing with non
417        ISO-8861 character sets.
418     2. checkbox() function now defaults to using -value as its label,
419        rather than -name. The current behavior is what has been
420        documented from the beginning.
421     3. -style accepts array reference to incorporate multiple stylesheets
422        into document.
423
424     1. Fixed two bugs that caused the -compile pragma to fail with a
425        syntax error.
426
427   Version 2.67
428
429     1. Added XHTML support (incomplete; tags need to be lowercased).
430     2. Fixed CGI/Carp when running under mod_perl. Probably broke in
431        other contexts.
432     3. Fixed problems when passing multiple cookies.
433     4. Suppress warnings from _tableize() that were appearing when using
434        -w switch with radio_group() and checkbox_group().
435     5. Support for the header() -attachment argument, which can give
436        pages a default file name when saving to disk.
437
438   Version 2.66
439
440     1. 2.65 changes in make_attributes() broke HTTP header functions
441        (including redirect), so made it context sensitive.
442
443   Version 2.65
444
445     1. Fixed regression tests to skip tests that require implicit fork on
446        machines without fork().
447     2. Changed make_attributes() to automatically escape any HTML
448        reserved characters.
449     3. Minor documentation fix in javascript example.
450
451   Version 2.64
452
453     1. Changes introduced in 2.63 broke param() when retrieving parameter
454        lists containing only a single argument. This is now fixed.
455     2. self_url() now defaults to returning parameters delimited with
456        semicolon. Use the pragma -oldstyle_urls to get the old "&"
457        delimiter.
458
459   Version 2.63
460
461     1. Fixed CGI::Push to pull out parameters correctly.
462     2. Fixed redirect() so that it works with default character set
463     3. Changed param() so as to returned empty string '' when referring
464        to variables passed in query strings like 'name1=&name2'
465
466   Version 2.62
467
468     1. Fixed broken ReadParse() function, and added regression tests
469     2. Fixed broken CGI::Pretty, and added regression tests
470
471   Version 2.61
472
473     1. Moved more functions from CGI.pm proper into CGI/Util.pm.
474        CGI/Cookie should now be standalone.
475     2. Disabled per-user temporary directories, which were causing grief.
476
477   Version 2.60
478
479     1. Fixed junk appearing in autogenerated HTML functions when using
480        object-oriented mode.
481
482   Version 2.59
483
484     1. autoescape functionality breaks too much existing code, removed
485        it.
486     2. use escapeHTML() manually
487
488   Version 2.58
489
490    This is the release version of 2.57.
491
492   Version 2.57
493
494     1. Added -debug pragma and turned off auto reading of STDIN.
495     2. Default DTD updated to HTML 4.01 transitional.
496     3. Added charset() method and the -charset argument to header().
497     4. Fixed behavior of escapeHTML() to respect charset() and to escape
498        nasty Windows characters (thanks to Tom Christiansen).
499     5. Handle REDIRECT_QUERY_STRING correctly.
500     6. Removed use_named_parameters() because of dependency problems and
501        general lameness.
502     7. Fixed problems with bad HREF links generated by url(-relative=>1)
503        when the url is like /people/.
504     8. Silenced a warning on upload (patch provided by Jonas Liljegren)
505     9. Fixed race condition in CGI::Carp when errors occur during parsing
506        (patch provided by Maurice Aubrey).
507    10. Fixed failure of url(-path_info=>1) when path contains % signs.
508    11. Fixed warning from CGI::Cookie when receiving foreign cookies that
509        don't use name=value format.
510    12. Fixed incompatibilities with file uploading on VMS systems.
511
512   Version 2.56
513
514     1. Fixed bugs in file upload introduced in version 2.55
515     2. Fixed long-standing bug that prevented two files with identical
516        names from being uploaded.
517
518   Version 2.55
519
520     1. Fixed cookie regression test so as not to produce an error.
521     2. Fixed path_info() and self_url() to work correctly together when
522        path_info() modified.
523     3. Removed manify warnings from CGI::{Switch,Apache}.
524
525   Version 2.54
526
527     1. This will be the last release of the monolithic CGI.pm module.
528        Later versions will be modularized and optimized.
529     2. DOMAIN tag no longer added to cookies by default. This will break
530        some versions of Internet Explorer, but will avoid breaking
531        networks which use host tables without fully qualified domain
532        names. For compatibility, please always add the -domain tag when
533        creating cookies.
534     3. Fixed escape() method so that +'s are treated correctly.
535     4. Updated CGI::Pretty module.
536
537   Version 2.53
538
539     1. Forgot to upgrade regression tests before releasing 2.52. NOTHING
540        ELSE HAS CHANGED IN LIBRARY
541
542   Version 2.52
543
544     1. Spurious newline in checkbox() routine removed. (courtesy John
545        Essen)
546     2. TEXTAREA linebreaks now respected in dump() routine. (courtesy
547        John Essen)
548     3. Patches for DOS ports (courtesy Robert Davies)
549     4. Patches for VMS
550     5. More fixes for cookie problems
551     6. Fix CGI::Carp so that it doesn't affect eval{} blocks (courtesy
552        Byron Brummer)
553
554   Version 2.51
555
556     1. Fixed problems with cookies not being remembered when sent to IE
557        5.0 (and Netscape 5.0 too?)
558     2. Numerous HTML compliance problems in cgi_docs.html; fixed thanks
559        to Michael Leahy
560
561   Version 2.50
562
563     1. Added a new Vars() method to retrieve all parameters as a tied
564        hash.
565     2. Untainted tainted tempfile name so that script doesn't fail on
566        terminal unlink.
567     3. Made picking of upload tempfile name more intelligent so that
568        doesn't fail in case of name collision.
569     4. Fixed handling of expire times when passed an absolute timestamp.
570     5. Changed dump() to Dump() to avoid name clashes.
571
572   Version 2.49
573
574     1. Fixes for FastCGI (globals not getting reset)
575     2. Fixed url() to correctly handle query string and path under
576        MOD_PERL
577
578   Version 2.48
579
580     1. Reverted detection of MOD_PERL to avoid breaking PerlEX.
581
582   Version 2.47
583
584     1. Patch to fix file upload bug appearing in IE 3.01 for
585        Macintosh/PowerPC.
586     2. Replaced use of $ENV{SCRIPT_NAME} with $ENV{REQUEST_URI} when
587        running under Apache, to fix self-referencing URIs.
588     3. Fixed bug in escapeHTML() which caused certain constructs, such as
589        CGI->image_button(), to fail.
590     4. Fixed bug which caused strong('CGI') to fail. Be careful to use
591        CGI::strong('CGI') and not CGI->strong('CGI'). The latter will
592        produce confusing results.
593     5. Added upload() function, as a preferred replacement for the
594        "filehandle as string" feature.
595     6. Added cgi_error() function.
596     7. Rewrote file upload handling to return undef rather than dieing
597        when an error is encountered. Be sure to call cgi_error() to find
598        out what went wrong.
599
600   Version 2.46
601
602     1. Fix for failure of the "include" tests under mod_perl
603     2. Added end_multipart_form to prevent failures during qw(-compile
604        :all)
605
606   Version 2.45
607
608     1. Multiple small documentation fixes
609     2. CGI::Pretty didn't get into 2.44. Fixed now.
610
611   Version 2.44
612
613     1. Fixed file descriptor leak in upload function.
614     2. Fixed bug in header() that prevented fields from containing double
615        quotes.
616     3. Added Brian Paulsen's CGI::Pretty package for pretty-printing
617        output HTML.
618     4. Removed CGI::Apache and CGI::Switch from the distribution.
619     5. Generated start_* shortcuts so that start_table(), end_table(),
620        start_ol(), end_ol(), and so forth now work (see the docs on how
621        to enable this feature).
622     6. Changed accept() to Accept(), sub() to Sub(). There's still a
623        conflict with reset(), but this will break too many existing
624        scripts!
625
626   Version 2.43
627
628     1. Fixed problem with "use strict" and file uploads (thanks to Peter
629        Haworth)
630     2. Fixed problem with not MSIE 3.01 for the power_mac not doing file
631        uploads right.
632     3. Fixed problem with file upload on IIS 4.0 when authorization in
633        use.
634     4. -content_type and '-content-type' can now be provided to header()
635        as synonyms for -type.
636     5. CGI::Carp now escapes the ampersand BEFORE escaping the > and <
637        signs.
638     6. Fixed "not an array reference" error when passing a hash reference
639        to radio_group().
640     7. Fixed non-removal of uploaded TMP files on NT platforms which
641        occurs when server runs on non-C drive (thanks to Steve Kilbane
642        for finding this one).
643
644   Version 2.42
645
646     1. Too many screams of anguish at changed behavior of url(). Is now
647        back to its old behavior by default, with options to generate all
648        the variants.
649     2. Added regression tests. "make test" now works.
650     3. Documentation fixes.
651     4. Fixes for Macintosh uploads, but uploads STILL do not work pending
652        changes to MacPerl.
653
654   Version 2.41
655
656     1. url() method now includes the path info. Use script_name() to get
657        it without path info().
658     2. Changed handling of empty attributes in HTML tag generation. Be
659        warned! Use table({-border=>undef}) rather than
660        table({-border=>''}).
661     3. Changes to allow uploaded filenames to be compared to other
662        strings with "eq", "cmp" and "ne".
663     4. Changes to allow CGI.pm to coexist more peacefully with
664        ActiveState PerlEX.
665     5. Changes to prevent exported variables from clashing when importing
666        ":all" set in combination with cookies.
667
668   Version 2.40
669
670     1. CGI::Carp patched to work better with mod_perl (thanks to Chris
671        Dean).
672     2. Uploads of files whose names begin with numbers or the Windows
673        \\UNC\shared\file nomenclature should no longer fail.
674     3. The <STYLE> tag (for cascading style sheets) now generates the
675        required TYPE attribute.
676     4. Server push primitives added, thanks to Ed Jordan.
677     5. Table and other HTML3 functions are now part of the :standard set.
678     6. Small documentation fixes.
679
680    TO DO:
681     1. Do something about the DTD mess. The module should generate
682        correct DTDs, or at least offer the programmer a way to specify
683        the correct one.
684     2. Split CGI.pm into CGI processing and HTML-generating modules.
685     3. More robust file upload (?still not working on the Macintosh?).
686     4. Bring in all the HTML4 functionality, particular the accessibility
687        features.
688
689   Version 2.39
690
691     1. file uploads failing because of VMS patch; fixed.
692     2. -dtd parameter was not being properly processed.
693
694   Version 2.38
695
696    I finally got tired of all the 2.37 betas and released 2.38. The main
697    difference between this version and the last 2.37 beta (2.37b30) are
698    some fixes for VMS. This should allow file upload to work properly on
699    all VMS Web servers.
700
701   Version 2.37, various beta versions
702
703     1. Added a CGI::Cookie::parse() method for lucky mod_perl users.
704     2. No longer need separate -values and -labels arguments for
705        multi-valued form elements.
706     3. Added better interface to raw cookies (fix courtesy Ken Fox,
707        kfox@ford.com)
708     4. Added param_fetch() function for direct access to parameter list.
709     5. Fix to checkbox() to allow for multi-valued single checkboxes
710        (weird problem).
711     6. Added a compile() method for those who want to compile without
712        importing.
713     7. Documented the import pragmas a little better.
714     8. Added a -compile switch to the use clause for the long-suffering
715        mod_perl and Perl compiler users.
716     9. Fixed initialization routines so that FileHandle and type globs
717        work correctly (and hash initialization doesn't fail!).
718    10. Better deletion of temporary files on NT systems.
719    11. Added documentation on escape(), unescape(), unescapeHTML() and
720        unescapeHTML() subroutines.
721    12. Added documentation on creating subclasses.
722    13. Fixed problem when calling $self->SUPER::foo() from inheriting
723        subclasses.
724    14. Fixed problem using filehandles from within subroutines.
725    15. Fixed inability to use the string "CGI" as a parameter.
726    16. Fixed exponentially growing $FILLUNIT bug
727    17. Check for undef filehandle in read_from_client()
728    18. Now requires the UNIVERSAL.pm module, present in Perl 5.003_7 or
729        higher.
730    19. Fixed problem with uppercase-only parameters being ignored.
731    20. Fixed vanishing cookie problem.
732    21. Fixed warning in initialize_globals() under mod_perl.
733    22. File uploads from Macintosh versions of MSIE should now work.
734    23. Pragmas now preceded by dashes (-nph) rather than colons (:nph).
735        Old style is supported for backward compatability.
736    24. Can now pass arguments to all functions using {} brackets,
737        resolving historical inconsistencies.
738    25. Removed autoloader warnings about absent MultipartBuffer::DESTROY.
739    26. Fixed non-sticky checkbox() when -name used without -value.
740    27. Hack to fix path_info() in IIS 2.0. Doesn't help with IIS 3.0.
741    28. Parameter syntax for debugging from command line now more
742        straightforward.
743    29. Added $DISABLE_UPLOAD to disable file uploads.
744    30. Added $POST_MAX to error out if POSTings exceed some ceiling.
745    31. Fixed url_param(), which wasn't working at all.
746    32. Fixed variable suicide problem in s///e expressions, where the
747        autoloader was needed during evaluation.
748    33. Removed excess spaces between elements of checkbox and radio
749        groups
750    34. Can now create "valueless" submit buttons
751    35. Can now set path_info as well as read it.
752    36. ReadParse() now returns a useful function result.
753    37. import_names() now allows you to optionally clear out the
754        namespace before importing (for mod_perl users)
755    38. Made it possible to have a popup menu or radio button with a value
756        of "0".
757    39. link() changed to Link() to avoid overriding native link function.
758    40. Takes advantage of mod_perl's register_cleanup() function to clear
759        globals.
760    41. <LAYER> and <ILAYER> added to :html3 functions.
761    42. Fixed problems with private tempfiles and NT/IIS systems.
762    43. No longer prints the DTD by default (I bet no one will complain).
763    44. Allow underscores to replace internal hyphens in parameter names.
764    45. CGI::Push supports heterogeneous MIME types and adjustable delays
765        between pages.
766    46. url_param() method added for retrieving URL parameters even when a
767        fill-out form is POSTed.
768    47. Got rid of warnings when radio_group() is called.
769    48. Cookies now moved to their very own module.
770    49. Fixed documentation bug in CGI::Fast.
771    50. Added a :no_debug pragma to the import list.
772
773   Version 2.36
774
775     1. Expanded JavaScript functionality
776     2. Preliminary support for cascading stylesheets
777     3. Security fixes for file uploads:
778           + Module will bail out if its temporary file already exists
779           + Temporary files can now be made completely private to avoid
780             peeking by other users or CGI scripts.
781     4. use CGI qw/:nph/ wasn't working correctly. Now it is.
782     5. Cookie and HTTP date formats didn't meet spec. Thanks to Mark
783        Fisher (fisherm@indy.tce.com) for catching and fixing this.
784
785    p
786
787   Version 2.35
788
789     1. Robustified multipart file upload against incorrect syntax in
790        POST.
791     2. Fixed more problems with mod_perl.
792     3. Added -noScript parameter to start_html().
793     4. Documentation fixes.
794
795   Version 2.34
796
797     1. Stupid typo fix
798
799   Version 2.33
800
801     1. Fixed a warning about an undefined environment variable.
802     2. Doug's patch for redirect() under mod_perl
803     3. Partial fix for busted inheritence from CGI::Apache
804     4. Documentation fixes.
805
806   Version 2.32
807
808     1. Improved support for Apache's mod_perl.
809     2. Changes to better support inheritance.
810     3. Support for OS/2.
811
812   Version 2.31
813
814     1. New uploadInfo() method to obtain header information from uploaded
815        files.
816     2. cookie() without any arguments returns all the cookies passed to a
817        script.
818     3. Removed annoying warnings about $ENV{NPH} when running with the -w
819        switch.
820     4. Removed operator overloading throughout to make compatible with
821        new versions of perl.
822     5. -expires now implies the -date header, to avoid clock skew.
823     6. WebSite passes cookies in $ENV{COOKIE} rather than
824        $ENV{HTTP_COOKIE}. We now handle this, even though it's O'Reilly's
825        fault.
826     7. Tested successfully against new sfio I/O layer.
827     8. Documentation fixes.
828
829   Version 2.30
830
831     1. Automatic detection of operating system at load time.
832     2. Changed select() function to Select() in order to avoid conflict
833        with Perl built-in.
834     3. Added Tr() as an alternative to TR(); some people think it looks
835        better that way.
836     4. Fixed problem with autoloading of MultipartBuffer::DESTROY code.
837     5. Added the following methods:
838           + virtual_host()
839           + server_software()
840     6. Automatic NPH mode when running under Microsoft IIS server.
841
842   Version 2.29
843
844     1. Fixed cookie bugs
845     2. Fixed problems that cropped up when useNamedParameters was set to
846        1.
847     3. Prevent CGI::Carp::fatalsToBrowser() from crapping out when
848        encountering a die() within an eval().
849     4. Fixed problems with filehandle initializers.
850
851   Version 2.28
852
853     1. Added support for NPH scripts; also fixes problems with Microsoft
854        IIS.
855     2. Fixed a problem with checkbox() values not being correctly saved
856        and restored.
857     3. Fixed a bug in which CGI objects created with empty string
858        initializers took on default values from earlier CGI objects.
859     4. Documentation fixes.
860
861   Version 2.27
862
863     1. Small but important bug fix: the automatic capitalization of tag
864        attributes was accidentally capitalizing the VALUES as well as the
865        ATTRIBUTE names (oops).
866
867   Version 2.26
868
869     1. Changed behavior of scrolling_list(), checkbox() and
870        checkbox_group() methods so that defaults are honored correctly.
871        The "fix" causes endform() to generate additional <INPUT
872        TYPE="HIDDEN"> tags -- don't be surpised.
873     2. Fixed bug involving the detection of the SSL protocol.
874     3. Fixed documentation error in position of the -meta argument in
875        start_html().
876     4. HTML shortcuts now generate tags in ALL UPPERCASE.
877     5. start_html() now generates correct SGML header:
878       <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
879       
880     6. CGI::Carp no longer fails "use strict refs" pragma.
881
882   Version 2.25
883
884     1. Fixed bug that caused bad redirection on destination URLs with
885        arguments.
886     2. Fixed bug involving use_named_parameters() followed by
887        start_multipart_form()
888     3. Fixed bug that caused incorrect determination of binmode for
889        Macintosh.
890     4. Spelling fixes on documentation.
891
892   Version 2.24
893
894     1. Fixed bug that caused generation of lousy HTML for some form
895        elements
896     2. Fixed uploading bug in Windows NT
897     3. Some code cleanup (not enough)
898
899   Version 2.23
900
901     1. Fixed an obscure bug that caused scripts to fail mysteriously.
902     2. Fixed auto-caching bug.
903     3. Fixed bug that prevented HTML shortcuts from passing taint checks.
904     4. Fixed some -w warning problems.
905
906   Version 2.22
907
908     1. New CGI::Fast module for use with FastCGI protocol. See pod
909        documentation for details.
910     2. Fixed problems with inheritance and autoloading.
911     3. Added TR() (<tr>) and PARAM() (<param>) methods to list of
912        exported HTML tag-generating functions.
913     4. Moved all CGI-related I/O to a bottleneck method so that this can
914        be overridden more easily in mod_perl (thanks to Doug MacEachern).
915     5. put() method as substitute for print() for use in mod_perl.
916     6. Fixed crash in tmpFileName() method.
917     7. Added tmpFileName(), startform() and endform() to export list.
918     8. Fixed problems with attributes in HTML shortcuts.
919     9. Functions that don't actually need access to the CGI object now no
920        longer generate a default one. May speed things up slightly.
921    10. Aesthetic improvements in generated HTML.
922    11. New examples.
923
924   Version 2.21
925
926     1. Added the -meta argument to start_html().
927     2. Fixed hidden fields (again).
928     3. Radio_group() and checkbox_group() now return an appropriate
929        scalar value when called in a scalar context, rather than
930        returning a numeric value!
931     4. Cleaned up the formatting of form elements to avoid unesthetic
932        extra spaces within the attributes.
933     5. HTML elements now correctly include the closing tag when
934        parameters are present but null: em('')
935     6. Added password_field() to the export list.
936
937   Version 2.20
938
939     1. Dumped the SelfLoader because of problems with running with taint
940        checks and rolled my own. Performance is now significantly
941        improved.
942     2. Added HTML shortcuts.
943     3. import() now adheres to the Perl module conventions, allowing
944        CGI.pm to import any or all method names into the user's name
945        space.
946     4. Added the ability to initialize CGI objects from strings and
947        associative arrays.
948     5. Made it possible to initialize CGI objects with filehandle
949        references rather than filehandle strings.
950     6. Added the delete_all() and append() methods.
951     7. CGI objects correctly initialize from filehandles on NT/95 systems
952        now.
953     8. Fixed the problem with binary file uploads on NT/95 systems.
954     9. Fixed bug in redirect().
955    10. Added '-Window-target' parameter to redirect().
956    11. Fixed import_names() so that parameter names containing funny
957        characters work.
958    12. Broke the unfortunate connection between cookie and CGI parameter
959        name space.
960    13. Fixed problems with hidden fields whose values are 0.
961    14. Cleaned up the documentation somewhat.
962
963   Version 2.19
964
965     1. Added cookie() support routines.
966     2. Added -expires parameter to header().
967     3. Added cgi-lib.pl compatability mode.
968     4. Made the module more configurable for different operating systems.
969     5. Fixed a dumb bug in JavaScript button() method.
970
971   Version 2.18
972
973     1. Fixed a bug that corrects a hang that occurs on some platforms
974        when processing file uploads. Unfortunately this disables the
975        check for bad Netscape uploads.
976     2. Fixed bizarre problem involving the inability to process uploaded
977        files that begin with a non alphabetic character in the file name.
978     3. Fixed a bug in the hidden fields involving the -override directive
979        being ignored when scalar defaults were passed.
980     4. Added documentation on how to disable the SelfLoader features.
981
982   Version 2.17
983
984     1. Added support for the SelfLoader module.
985     2. Added oodles of JavaScript support routines.
986     3. Fixed bad bug in query_string() method that caused some parameters
987        to be silently dropped.
988     4. Robustified file upload code to handle premature termination by
989        the client.
990     5. Exported temporary file names on file upload.
991     6. Removed spurious "uninitialized variable" warnings that appeared
992        when running under 5.002.
993     7. Added the Carp.pm library to the standard distribution.
994     8. Fixed a number of errors in this documentation, and probably added
995        a few more.
996     9. Checkbox_group() and radio_group() now return the buttons as
997        arrays, so that you can incorporate the individual buttons into
998        specialized tables.
999    10. Added the '-nolabels' option to checkbox_group() and
1000        radio_group(). Probably should be added to all the other
1001        HTML-generating routines.
1002    11. Added the url() method to recover the URL without the entire query
1003        string appended.
1004    12. Added request_method() to list of environment variables available.
1005    13. Would you believe it? Fixed hidden fields again!
1006
1007   Version 2.16
1008
1009     1. Fixed hidden fields yet again.
1010     2. Fixed subtle problems in the file upload method that caused
1011        intermittent failures (thanks to Keven Hendrick for this one).
1012     3. Made file upload more robust in the face of bizarre behavior by
1013        the Macintosh and Windows Netscape clients.
1014     4. Moved the POD documentation to the bottom of the module at the
1015        request of Stephen Dahmen.
1016     5. Added the -xbase parameter to the start_html() method, also at the
1017        request of Stephen Dahmen.
1018     6. Added JavaScript form buttons at Stephen's request. I'm not sure
1019        how to use this Netscape extension correctly, however, so for now
1020        the form() method is in the module as an undocumented feature. Use
1021        at your own risk!
1022
1023   Version 2.15
1024
1025     1. Added the -override parameter to all field-generating methods.
1026     2. Documented the user_name() and remote_user() methods.
1027     3. Fixed bugs that prevented empty strings from being recognized as
1028        valid textfield contents.
1029     4. Documented the use of framesets and added a frameset example.
1030
1031   Version 2.14
1032
1033    This was an internal experimental version that was never released.
1034
1035   Version 2.13
1036
1037     1. Fixed a bug that interfered with the value "0" being entered into
1038        text fields.
1039
1040   Version 2.01
1041
1042     1. Added -rows and -columns to the radio and checkbox groups. No
1043        doubt this will cause much grief because it seems to promise a
1044        level of meta-organization that it doesn't actually provide.
1045     2. Fixed a bug in the redirect() method -- it was not truly HTTP/1.0
1046        compliant.
1047
1048   Version 2.0
1049
1050    The changes seemed to touch every line of code, so I decided to bump
1051    up the major version number.
1052     1. Support for named parameter style method calls. This turns out
1053        to be a big win for extending CGI.pm when Netscape adds new HTML
1054        "features".
1055     2. Changed behavior of hidden fields back to the correct "sticky"
1056        behavior. This is going to break some programs, but it is for
1057        the best in the long run.
1058     3. Netscape 2.0b2 broke the file upload feature. CGI.pm now handles
1059        both 2.0b1 and 2.0b2-style uploading. It will probably break again
1060        in 2.0b3.
1061     4. There were still problems with library being unable to distinguish
1062        between a form being loaded for the first time, and a subsequent
1063        loading with all fields blank. We now forcibly create a default
1064        name for the Submit button (if not provided) so that there's
1065        always at least one parameter.
1066     5. More workarounds to prevent annoying spurious warning messages
1067        when run under the -w switch. -w is seriously broken in perl
1068        5.001!
1069
1070   Version 1.57
1071
1072     1. Support for the Netscape 2.0 "File upload" field.
1073     2. The handling of defaults for selected items in scrolling lists and
1074        multiple checkboxes is now consistent.
1075
1076   Version 1.56
1077
1078     1. Created true "pod" documentation for the module.
1079     2. Cleaned up the code to avoid many of the spurious "use of
1080        uninitialized variable" warnings when running with the -w switch.
1081     3. Added the autoEscape() method. v
1082     4. Added string interpolation of the CGI object.
1083     5. Added the ability to pass additional parameters to the <BODY> tag.
1084     6. Added the ability to specify the status code in the HTTP header.
1085
1086   Bug fixes in version 1.55
1087
1088     1. Every time self_url() was called, the parameter list would grow.
1089        This was a bad "feature".
1090     2. Documented the fact that you can pass "-" to radio_group() in
1091        order to prevent any button from being highlighted by default.
1092
1093   Bug fixes in version 1.54
1094
1095     1. The user_agent() method is now documented;
1096     2. A potential security hole in import() is now plugged.
1097     3. Changed name of import() to import_names() for compatability with
1098        CGI:: modules.
1099
1100   Bug fixes in version 1.53
1101
1102     1. Fixed several typos in the code that were causing the following
1103        subroutines to fail in some circumstances
1104          1. checkbox()
1105          2. hidden()
1106     2. No features added
1107
1108   New features added in version 1.52
1109
1110     1. Added backslashing, quotation marks, and other shell-style escape
1111        sequences to the parameters passed in during debugging off-line.
1112     2. Changed the way that the hidden() method works so that the default
1113        value always overrides the current one.
1114     3. Improved the handling of sticky values in forms. It's now less
1115        likely that sticky values will get stuck.
1116     4. If you call server_name(), script_name() and several other methods
1117        when running offline, the methods now create "dummy" values to
1118        work with.
1119
1120   Bugs fixed in version 1.51
1121
1122     1. param() when called without arguments was returning an array of
1123        length 1 even when there were no parameters to be had. Bad bug!
1124        Bad!
1125     2. The HTML code generated would break if input fields contained the
1126        forbidden characters ">< or &. You can now use these characters
1127        freely.
1128
1129   New features added in version 1.50
1130
1131     1. import() method allows all the parameters to be imported into a
1132        namespace in one fell swoop.
1133     2. Parameters are now returned in the same order in which they were
1134        defined.
1135
1136   Bugs fixed in version 1.45
1137
1138     1. delete() method didn't work correctly. This is now fixed.
1139     2. reset() method didn't allow you to set the name of the button.
1140        Fixed.
1141
1142   Bugs fixed in version 1.44
1143
1144     1. self_url() didn't include the path information. This is now fixed.
1145
1146   New features added in version 1.43
1147
1148     1. Added the delete() method.
1149
1150   New features added in version 1.42
1151
1152     1. The image_button() method to create clickable images.
1153     2. A few bug fixes involving forms embedded in <PRE> blocks.
1154
1155   New features added in version 1.4
1156
1157     1. New header shortcut methods
1158           + redirect() to create HTTP redirection messages.
1159           + start_html() to create the HTML title, complete with the
1160             recommended <LINK> tag that no one ever remembers to include.
1161           + end_html() for completeness' sake.
1162     2. A new save() method that allows you to write out the state of an
1163        script to a file or pipe.
1164     3. An improved version of the new() method that allows you to restore
1165        the state of a script from a file or pipe. With (2) this gives you
1166        dump and restore capabilities! (Wow, you can put a "121,931
1167        customers served" banner at the bottom of your pages!)
1168     4. A self_url() method that allows you to create state-maintaining
1169        hypertext links. In addition to allowing you to maintain the state
1170        of your scripts between invocations, this lets you work around a
1171        problem that some browsers have when jumping to internal links in
1172        a document that contains a form -- the form information gets lost.
1173     5. The user-visible labels in checkboxes, radio buttons, popup menus
1174        and scrolling lists have now been decoupled from the values sent
1175        to your CGI script. Your script can know a checkbox by the name of
1176        "cb1" while the user knows it by a more descriptive name. I've
1177        also added some parameters that were missing from the text fields,
1178        such as MAXLENGTH.
1179     6. A whole bunch of methods have been added to get at environment
1180        variables involved in user verification and other obscure
1181        features.
1182
1183   Bug fixes
1184
1185     1. The problems with the hidden fields have (I hope at last) been
1186        fixed.
1187     2. You can create multiple query objects and they will all be
1188        initialized correctly. This simplifies the creation of multiple
1189        forms on one page.
1190     3. The URL unescaping code works correctly now.