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