Permalink
Browse files

added textfield values parameter as alias to value

  • Loading branch information...
lstein
lstein committed Apr 27, 2003
1 parent 2e19536 commit 30176698cdd8a914a5bc2a2d36650001c37f4254
Showing with 5 additions and 4 deletions.
  1. +3 −3 CGI.pm
  2. +2 −1 cgi_docs.html
View
6 CGI.pm
@@ -18,7 +18,7 @@ use Carp 'croak';
# The most recent version and complete docs are available at:
# http://stein.cshl.org/WWW/software/CGI/
-$CGI::revision = '$Id: CGI.pm,v 1.110 2003-04-23 16:47:08 lstein Exp $';
+$CGI::revision = '$Id: CGI.pm,v 1.111 2003-04-27 16:26:24 lstein Exp $';
$CGI::VERSION='2.92';
# HARD-CODED LOCATION FOR FILE UPLOAD TEMPORARY FILES.
@@ -1330,7 +1330,7 @@ sub header {
push(@header,"Window-Target: $target") if $target;
if ($p3p) {
$p3p = join ' ',@$p3p if ref($p3p) eq 'ARRAY';
- push(@header,qq(P3P: policyref="/w3c/p3p.xml" CP="$p3p"));
+ push(@header,qq(P3P: policyref="/w3c/p3p.xml", CP="$p3p"));
}
# push all the cookies -- there may be several
if ($cookie) {
@@ -1700,7 +1700,7 @@ END_OF_FUNC
sub _textfield {
my($self,$tag,@p) = self_or_default(@_);
my($name,$default,$size,$maxlength,$override,@other) =
- rearrange([NAME,[DEFAULT,VALUE],SIZE,MAXLENGTH,[OVERRIDE,FORCE]],@p);
+ rearrange([NAME,[DEFAULT,VALUE,VALUES],SIZE,MAXLENGTH,[OVERRIDE,FORCE]],@p);
my $current = $override ? $default :
(defined($self->param($name)) ? $self->param($name) : $default);
View
@@ -4777,6 +4777,7 @@ <H2><a name="bugs">Bug Reports</a></H2>
<H2><A NAME="new">Revision History</A></H2>
<h3>Version 2.92</h3>
<ol>
+ <li>Fix to be P3P compliant submitted from MPREWITT.
<li>Added CGI->r() API for mod_perl1/mod_perl2.
<li>Fixed bug in redirect() that was corrupting cookies.
<li>Minor fix to behavior of reset() button to make it consistent with submit() button
@@ -5823,6 +5824,6 @@ <H3>Bug fixes</H3>
<a href="http://www.cshl.org/">Cold Spring Harbor Laboratory</a></ADDRESS>
<P>
<!-- hhmts start -->
-Last modified: Thu Apr 17 10:43:51 EDT 2003
+Last modified: Fri Apr 25 14:00:06 EDT 2003
<!-- hhmts end -->
</BODY> </HTML>

0 comments on commit 3017669

Please sign in to comment.