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
In add_cookie_header $val should be checked as described below >>
sub add_cookie_header
{
...
while (($key,$array) = each %{$cookies->{$path}}) {
my($version,$val,$port,$path_spec,$secure,$expires) =
@$array;
# *this line has to be added, to prevent errors for
undefined value*
next if !defined($val);
if ($secure && !$secure_request) {
next;
}
...
}
----
The above recommendation is based on experience when application using
WWW::Scripter module
parsed a web page containing the following JavaScript:
if (typeof navigator.cookieEnabled == "undefined") {
document.cookie = "cookie";
test = (document.cookie.indexOf("cookie") != -1) ? true :
false;
}
Once the fix recommended above has been applied, no error occurred.
The text was updated successfully, but these errors were encountered:
Migrated from rt.cpan.org#75715 (status was 'new')
Requestors:
From [email protected] on 2012-03-12 14:19:33:
The text was updated successfully, but these errors were encountered: