Bug 11322: rscrub bad data before storing suggestions in the DB
authorChris Cormack <chrisc@catalyst.net.nz>
Mon, 2 Dec 2013 23:01:23 +0000 (12:01 +1300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 17 Dec 2013 19:00:38 +0000 (16:00 -0300)
commitc1f8e2757ddffd98d1ae34d011e5f0c97bcbb9e2
tree5924a69a466c16444a9924e522fdf650c232d38b
parent57757250d6f1c02ffd212052bac5459a76f8625c
Bug 11322: rscrub bad data before storing suggestions in the DB

1/ In the public interface, add a suggestion containing html
2/ Save, notice the html is rendered (or if you have the other patches
is displayed)
3/ Apply this paget
4/ Add another suggestion
5/ Notice the html is stripped

Signed-off-by: David Cook <dcook@prosentient.com.au>
Works as described.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 48b339980e20bdefb21141d537c283d15e267d93)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
(cherry picked from commit a907c28a1e408cc73ab0437d90dca8c861ae08f5)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
opac/opac-suggestions.pl