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