"be consistent" | |
PerlMonks |
Re: Re: Re: CGI fails to urlencode & chars in outbound url'sby projekt21 (Friar) |
on Jun 12, 2002 at 15:39 UTC ( [id://173874]=note: print w/replies, xml ) | Need Help?? |
CGI::escape comes from CGI::Util and is not documented (the code is the documentation :-). It is used within CGI.pm and is usable outside, too.
For more info see Dump a directory as links from CGI. escapeHTML is fine to produce HTML, but not useful for URIs (your "&" is the best example). If we have an unescaped "&" then this is a parameter delimiter.
alex pleiner <alex@zeitform.de>
In Section
Seekers of Perl Wisdom
|
|