You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
In some cases the HTTP::Cookies module does not delete cookies.
Here is the issue in detail:
- when the foo.com URL is requested the "Cookie_check=1" cookie is set
- then server redirects us to pass.foo.com
- while requesting pass.foo.com the "Cookie_check=" cookie is set
- then server redirects us to ok.foo.com
On each step the server displays the STDOUT cookie.
Please view the examples of requests for w3m browser and LWP client (client.pl):
> tail -n 3 /etc/hosts
127.0.0.1 foo.com
127.0.0.1 pass.foo.com
127.0.0.1 ok.foo.com
> perl server.pl
> w3m -dump http://foo.com:8080
Received cookie: Cookie_check=1
Received cookie: Cookie_check=
Hello
> perl client.pl
Hello
> perl server.pl
undef at server.pl line 23.
Cookie_check=1 at server.pl line 29.
undef at server.pl line 35.
======
undef at server.pl line 23.
Cookie_check=1 at server.pl line 29.
Cookie_check=1 at server.pl line 35.
======
Sincerely,
Nick Kostyria
The text was updated successfully, but these errors were encountered:
Migrated from rt.cpan.org#84712 (status was 'new')
Requestors:
Attachments:
From [email protected] on 2013-04-18 06:55:30:
The text was updated successfully, but these errors were encountered: