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