[Koha-bugs] [Bug 29744] New: Harmonize psgi/plack detection methods
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Dec 21 03:27:28 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29744
Bug ID: 29744
Summary: Harmonize psgi/plack detection methods
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: dcook at prosentient.com.au
QA Contact: testopia at bugs.koha-community.org
In Bug 29420, C4::Context->is_psgi_or_plack() is introduced to check for
psgi/plack environmental variables, since C4::Auth::psgi_env doesn't check for
"plack" environmental variables which means psgi/plack detection fails.
We should replace C4::Auth::psgi_env calls with C4::Context->is_psgi_or_plack()
if possible.
We should also use C4::Context->is_psgi_or_plack() instead of manually scanning
the %ENV hash for psgi/plack variables.
--
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