]> git.koha-community.org Git - koha.git/commit
Bug 17392 - opac/svc/overdrive_proxy is not plack safe
authorNick Clemens <nick@bywatersolutions.com>
Wed, 5 Oct 2016 13:26:09 +0000 (13:26 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 24 Oct 2016 10:00:30 +0000 (12:00 +0200)
commitfe779466cc6244ddea9c789066dd4f9a311e4093
tree346b2373e5c32d93b062c7f45962e852bde1ec42
parentef74f4c803da7f139995ab0d16ec3b3f70473e31
Bug 17392 - opac/svc/overdrive_proxy is not plack safe

This patch simply replaces the ';'  in the param passed to OverDrive
with '&'

To test:
1 - Enable overdrive (requires an account)
2 - Perform an opac search
3 - Note the number of overdrive results reported
4 - Click the link to view the actual overdrive results
5 - Note the result numbers don't match
6 - Apply patch
7 - Repeat 1-4 and note results numbers match and results are relevant
8 - Test a search with a ';' to ensure this patch isn't breaking
searches

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Verified by reading code - couldn't verify using Overdrive.

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit f28460bdb7cbb6a1261d8c50af6b10ffacf54ef3)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 80de7080ef5f3694378c4a909b96ee62866d0b41)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
opac/svc/overdrive_proxy