[Koha-bugs] [Bug 24719] C4::Context::set_remote_address() prevents file upload for non-Plack Koha

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 6 08:33:38 CET 2020


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

--- Comment #18 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
> Test plan:
> 0. Disable Plack if it is enabled

I am having the impression that this bug has nothing to do with Plack. It is
about creating another CGI object that "steals the upload".

> 3. Try to upload MARCXML file to /cgi-bin/koha/tools/stage-marc-import.pl

See debian/templates/apache-shared-intranet-plack.conf
ProxyPass "/cgi-bin/koha/tools/stage-marc-import.pl" "!"
This script does not even function under Plack, it is handled by Apache!

But it is clear to me that preventing the CGI->new call and calling http as a
class method resolves the situation. So passing QA on the second patch. Note
that the first patch does the same thing, but lets keep that shuffling of env
vars in the module.

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


More information about the Koha-bugs mailing list