Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9806
Modified Files:
URL.pm
Log Message:
OIN-79: escape query argument names in addition to the values
Index: URL.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/URL.pm,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** URL.pm 27 Sep 2004 03:35:14 -0000 1.22
--- URL.pm 2 Oct 2004 22:24:15 -0000 1.23
***************
*** 125,129 ****
my $query = join( QUERY_ARG_SEPARATOR,
! map { "$_=" . _url_escape( $params->{ $_ } ) }
grep { defined $params->{ $_ } }
keys %{ $params } );
--- 125,129 ----
my $query = join( QUERY_ARG_SEPARATOR,
! map { _url_escape( $_ ) . "=" . _url_escape( $params->{ $_ } ) }
grep { defined $params->{ $_ } }
keys %{ $params } );
|