]> git.koha-community.org Git - koha.git/commit
Bug 12885: Fix if url contains +*... and HTML5 Media is enabled
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 15 Jul 2015 11:49:03 +0000 (12:49 +0100)
committerChris Cormack <chris@bigballofwax.co.nz>
Tue, 22 Sep 2015 01:36:56 +0000 (13:36 +1200)
commit1ed31fe5ba874a649d34beb0fb649bd912fe456d
tree7be88f8debdd3e7075485b2c8f76706f367778dd
parenteb8a20b2b77549b5afd530e58208a78ef68e295a
Bug 12885: Fix if url contains +*... and HTML5 Media is enabled

The special regex chars are not escaped in C4::HTML5Media.

Test plan:
1/ Set 856$u=http://www.mrqe.com/lookup?talented+mr.+ripley
2/ Enable the pref HTML5Media
3/ Go on the detail page
It should not explode.

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Joonas Kylmälä <j.kylmala@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 085d766a0524e399d0c9c9e807d8c0acd0da6a19)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
C4/HTML5Media.pm