[Koha-bugs] [Bug 29420] New: 401 Unauthorized pages come back as 200 OK under plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 5 00:55:20 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29420

            Bug ID: 29420
           Summary: 401 Unauthorized pages come back as 200 OK under plack
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: wizzyrea at gmail.com
        QA Contact: testopia at bugs.koha-community.org

We have a use case where we define Aliases in Apache for things like
some.koha.url/files that are .htpasswd protected. In 21.05 and later, 401
Unauthorized responses go through Koha and become 200 OK. 

We should make the 401 Unauthorized pages come back as 401 Unauthorized, so
that browsers know what to do when BasicAuth is requested.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list