[Koha-bugs] [Bug 30614] New: check-url-quick gives false error 404

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 25 21:31:18 CEST 2022


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

            Bug ID: 30614
           Summary: check-url-quick gives false error 404
 Change sponsored?: ---
           Product: Koha
           Version: 20.05
          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: marjorie.barry-vila at collecto.ca
        QA Contact: testopia at bugs.koha-community.org

Hi,

Many 404 errors come out after running the check-quick-url script while the
urls are correct when checked manually. 
Apparently this is because the script uses HTTP HEAD instead of HTTP GET.
HTTP HEAD returns only the headers of the urls and the header can return an
error but the url is accessible when you do a GET.

Is there a reason for this?

My fellow analyst was pointing to line 104 of
https://github.com/Koha-Community/Koha/blob/master/misc/cronjobs/check-url-quick.pl

Thank you
Marjorie

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


More information about the Koha-bugs mailing list