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