From: <ssc...@us...> - 2003-04-26 10:22:26
|
Update of /cvsroot/popfile/engine/UI In directory sc8-pr-cvs1:/tmp/cvs-serv11598 Modified Files: HTTP.pm Log Message: allow "+" to be submitted encoded in a form Index: HTTP.pm =================================================================== RCS file: /cvsroot/popfile/engine/UI/HTTP.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HTTP.pm 25 Mar 2003 05:24:58 -0000 1.1 --- HTTP.pm 26 Apr 2003 10:22:23 -0000 1.2 *************** *** 210,217 **** $self->{form_}{$arg} = $2; # Expand %7E (hex) escapes in the form data $self->{form_}{$arg} =~ s/%([0-9A-F][0-9A-F])/chr hex $1/gie; - $self->{form_}{$arg} =~ s/\+/ /g; # Push the value onto an array to allow for multiple values of the same name --- 210,218 ---- $self->{form_}{$arg} = $2; + $self->{form_}{$arg} =~ s/\+/ /g; + # Expand %7E (hex) escapes in the form data $self->{form_}{$arg} =~ s/%([0-9A-F][0-9A-F])/chr hex $1/gie; # Push the value onto an array to allow for multiple values of the same name |