Ticket #284 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

/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.

Change History

comment:1 Changed 12 years ago by jdreed

  • Upstream bug set to https://bugs.launchpad.net/bugs/387536

comment:2 Changed 12 years ago by broder

  • Status changed from new to proposed

Fixed in r23854 and r23855; uploaded to proposed.

comment:3 Changed 12 years ago by broder

Fix moved to production.

comment:4 Changed 12 years ago by broder

  • Status changed from proposed to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.