https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17392
Bug ID: 17392
Summary: opac/svc/overdrive_proxy is not plack safe
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: OPAC
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
When running under plack the parameters in the url passed to overdrive are
separated by semi-colons as opposed to ampersands
example, dumping $query->query_string from /opac/svc/overdrive_proxy under
plack we have:
'q=howard%20wigglebottom;limit=1;offset=0'
If the page is excluded from plack we get:
'q=howard%20wigglebottom&limit=1&offset=0'
You can test in a rest client, the first will return spurious results, searches
in opac will report one number of hits, clicking the link for results will
return none or a different number of hits from overdrive
Tried removing the qw(-oldstyle-urls) from the script but it had no effect,
though without that when excluded from plack things also don't work
This is verified under master and 3.22 under plack
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/