View | Details | Raw Unified | Return to bug 20582
Collapse All | Expand All

(-)a/Koha/App/Plugin/CGIBinKoha.pm (-2 / +1 lines)
Lines 85-91 sub _psgi_env { Link Here
85
85
86
    # Starman sets PATH_INFO to the same value of SCRIPT_NAME, which confuses
86
    # Starman sets PATH_INFO to the same value of SCRIPT_NAME, which confuses
87
    # CGI and causes the redirect after OPAC login to fail
87
    # CGI and causes the redirect after OPAC login to fail
88
    delete $env->{PATH_INFO} if ($env->{PATH_INFO} eq $env->{SCRIPT_NAME});
88
    delete $env->{PATH_INFO} if ($env->{PATH_INFO} && $env->{PATH_INFO} eq $env->{SCRIPT_NAME});
89
89
90
    for my $name (@{ $c->req->headers->names }) {
90
    for my $name (@{ $c->req->headers->names }) {
91
        my $value = $c->req->headers->header($name);
91
        my $value = $c->req->headers->header($name);
92
- 

Return to bug 20582