[Koha-bugs] [Bug 3586] New: errors pages are sent with HTTP 200 OK header

bugzilla-daemon at kohaorg.ec2.liblime.com bugzilla-daemon at kohaorg.ec2.liblime.com
Mon Sep 7 16:38:24 CEST 2009


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3586

           Summary: errors pages are sent with HTTP 200 OK header
           Product: Koha
           Version: rel_3_2
          Platform: All
               URL: http://koha/cgi-bin/koha/errors/404.pl
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Browser compatibility
        AssignedTo: joe.atzberger at liblime.com
        ReportedBy: mjr at ttllp.co.uk
                CC: oleonard at myacpl.org, gmcharlt at gmail.com
   Estimated Hours: 0.0
 Change sponsored?: ---


All of the errors scripts send results back to clients with HTTP 200 OK header.
 This leads to some clients taking incorrect actions.

To see the fault, try

curl -I http://koha/cgi-bin/koha/errors/404.pl 

and look at the first line of output.

Looks to me like C4::Output::output_html_with_http_headers doesn't pass status
code to C4::Output::output_with_http_headers and the errors scripts don't send
error codes anyway.


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list