SQ 4.1 bugfixes

Fix XSS on favorite filters (issues page edition)
(cherry picked from commit f12a558)