[Koha-bugs] [Bug 23653] Plack stopped working - JSON validation timeout

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 1 02:37:52 CEST 2020


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

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcook at prosentient.com.au

--- Comment #19 from David Cook <dcook at prosentient.com.au> ---
A solution to this problem is to provide our own argument "schema" argument to
the load_and_validate_schema() method. 

https://metacpan.org/pod/JSON::Validator#load_and_validate_schema

I've looked through the code and there's a variety of ways of providing the
schema, which we can source from
https://raw.githubusercontent.com/mojolicious/json-validator/3.06/lib/JSON/Validator/cache/36d1bd12eeed51e86c8695bd8876a9df

I'd say we should provide it as a local file, so that we're not relying on any
web servers to provide this crucial file.

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


More information about the Koha-bugs mailing list