develooper Front page | perl.perl5.porters | Postings from February 2003

[perl #21266] Possible Bug in CGI.pm when parsing queries that contain a #

Thread Next
From:
Blake Frantz
Date:
February 17, 2003 16:50
Subject:
[perl #21266] Possible Bug in CGI.pm when parsing queries that contain a #
Message ID:
rt-21266-52259.8.26771982460698@bugs6.perl.org
# New Ticket Created by  Blake Frantz 
# Please include the string:  [perl #21266]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=21266 >




#!/usr/bin/perl

use CGI qw/:standard/;
use Data::Dumper;

my $form = new CGI; 
print "Content-type: text/html\n\n";
print Dumper($form->param());
print Dumper($form->keywords());


i have the following

cgi-bin/test.pl?a=###daa&b=234&f=12314


CGI.pm returns null for a, and doesnt not even recognize b or f

In my testing, any param that comes after the param that contains the # is
gone.




uber:/home/trew# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.4.19, archname=i386-linux



any help is appreciated


Blake Frantz  CISSP, MCSE, CCNA, CNA
Security Engineer
mc.net
720 Industrial Drive #121
Cary, IL 60013
phn: (847)-594-5111 x5734
fax: (847)-639-0097
mailto:blake@mc.net
http://www.mc.net

 
 


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About