[Koha-bugs] [Bug 17392] New: opac/svc/overdrive_proxy is not plack safe
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Oct 3 20:54:44 CEST 2016
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: oleonard at myacpl.org
Reporter: nick at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
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.
More information about the Koha-bugs
mailing list