Hi,
I found a message from Gerald that explains this:
Embperl 1.3.4 and 2.0b8 has an undocumented (should be in the docs in
the
next release) method to do escaping:
[-
$r = shift ;
# second parameter: 1 html escape, 2 url escape (same as $escmode)
$escaped = $r -> Escape ($ENV{REQUEST_URI}, 2)
What about the URI::Escape module?
Should it be used at all, maybe for non-OO use of 1.3 ? Should be
mentioned in the documentation, how to escape /unescape form data. I for
one missed a brief explanation of this.
Knut Behrends
--
Hi,
You should not use CGI inside Embperl because it will try to read the
form fields again and conflict with Embperl, and make your app BIG.
For your escaping use the $req->Escape from Embperl (I don't know if it
is available in Embperl2 - Gerald?).
Regards,
--
Luiz Fernando Ribeiro
Engenho S
Hi,
today I tried to migrate from Embperl 1.3.6 with apache 1.3.27
to apache 2.0.40-21.3 (from RedHat 9) plus mod_perl 1.99_09 and
Embperl 2.0b9.
First, everything seems to work well. I made a test page:
test page
[-
++$udat{'blah'};
$a = localtime();
print OUT "The time is $a, and you'r