Ticket #284 (closed defect: fixed)
/usr/lib/init/displaymotd barfs on "markup"
Reported by: | jdreed | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Summer 2009 Deployment |
Component: | -- | Keywords: | |
Cc: | Fixed in version: | ||
Upstream bug: | https://bugs.launchpad.net/bugs/387536 |
Description
When the MOTD contains ampersands (like, say, IS&T), zenity barfs and defaults to the useless "All updates are complete.". We should run the output of get_message through tr or something and get rid of the characters '&', '<' and '>'. And possibly anything else that Pango thinks it should interpret.
Escaping them with \ doesn't work - we either get to convert to HTML entities, or strip them out.
Note: See
TracTickets for help on using
tickets.