skazat has asked for the wisdom of the Perl Monks concerning the following question:
I'm finding that vars that I pull from the CGI.pm's param method are encoded, as if they've been run through HML::Entities. Ala:
my $foo = $q->param('foo');
I couldn't find the entity encoding spec'd in the CGI.pm docs - is this something new? This is becoming a problem, as I'm double-encoding my HTML::Entities. I've been working with CGI.pm for about 9 years now and this is surprising to find the behavior change.
I'm having a hard time making a simple example from the large behemoth of a problem that's showing this problem, but I will continue to try to get one :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: CGI.pm and encoding HTML entities in param()
by pc88mxer (Vicar) on Jun 18, 2008 at 01:29 UTC | |
by skazat (Chaplain) on Jun 23, 2008 at 03:47 UTC | |
Re: CGI.pm and encoding HTML entities in param()
by almut (Canon) on Jun 17, 2008 at 22:01 UTC |
Back to
Seekers of Perl Wisdom