https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40423
Bug ID: 40423
Summary: Handling x-koha-request-id relies on wrong data
structure
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: REST API
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
Processing the `x-koha-request-id` header relies on the fact the header is
added to the 'reserved_params' earlier by the use of `$c->validation->output`.
This is fragile as it relies on an internal data structure from the
`Mojolicious::Plugin::OpenAPI` plugin that is not safe or intended to be
accessed.
Bug 40417 deals with removing that last use in `objects.search_rs` but
highlights this situation. In order to keep things clear, I file this bug for
dealing with this particular situation.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/