https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20675
Bug ID: 20675
Summary: Bad html in message_queue.content corrupts
members/notices.pl
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Notices
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Bad html in letter.content will be written to message_queue.content, which can
corrupt the display of members/notices.pl
To re-create:
1) Edit a notice which will show up in the message queue.
2) Make sure 'HTML message' is checked.
3) Add <a href="http://example.com>example.com</a>
(notice the missing quotes at the end of
http://example.com>example.com in the
href attribute)
4) Trigger the notice for a given patron
5) Go to the patron's notices tab
6) Trying to expand any of the notices is now broken due to html corruption.
This affects users directly, furthermore, simply fixing the letter template
isn't enough because the corrupted html stays in message_queue.content. It can
only be fixed by updating message_queue.content directly via the database.
We should validate html on any page where the 'HTML message' box is checked in
tools/letter.pl.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/