X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3cc77e53893f90f6434e1adb1fdd4a227e220cf0..07036bf10657855cc7b59f7c978bb6ab0d2d065a:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 5f0fcd756..d85fe54da 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -566,12 +566,17 @@ sub create_http_response { my $session_cookie; if (defined $main::auth) { + my $uri = $self->_get_request_uri; + my @segments = $uri->path_segments; + pop @segments; + $uri->path_segments(@segments); + my $session_cookie_value = $main::auth->get_session_id(); $session_cookie_value ||= 'NO_SESSION'; $session_cookie = $cgi->cookie('-name' => $main::auth->get_session_cookie_name(), '-value' => $session_cookie_value, - '-path' => $self->_get_request_uri->path, + '-path' => $uri->path, '-secure' => $ENV{HTTPS}); }