HTTP::Cookies _normalize_path usage
Brought to you by:
gisle
In HTTP::Cookies, what if $req_path below contains nonprintable
characters? I think the if should go, to prevent spurious
rejection of cookies. The same thing happens (twice) in
extract_cookies.
sub add_cookie_header
{
...
_normalize_path($req_path) if $req_path =~ /%/;
Logged In: YES
user_id=261020
Just a note that, after much head-scratching, I ended up (in
my Python port) with something quite different to that in LWP (I
think!). See the function escape_path() in the file
ClientCookie/_ClientCookie.py from tarball available at URL
below.
http://wwwsearch.sf.net/ClientCookie/