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