← Back to team overview

dx-packages team mailing list archive

[Bug 339020] Re: Some HTML tags cause all tags to appear as raw code

 

** No longer affects: notify-osd

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to notify-osd in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/339020

Title:
  Some HTML tags cause all tags to appear as raw code

Status in “notify-osd” package in Ubuntu:
  Fix Released

Bug description:
  notify-osd 0.9ubuntu2, Ubuntu Jaunty

  At a terminal, enter:
  1. notify-send 'test' '<b>Markup</b> should be <i>filtered</i>.'
  2. notify-send 'test' '<b>Markup</b> should be <a href="http://example.com/";>filtered</a>.'

  What happens:
  1. A notification bubble appears with body text 'Markup should be filtered.'
  2. A notification bubble appears with body text '<b>Markup</b> should be <a href="http://example.com/";>filtered</a>.'

  What should happen, as defined in the spec <https://wiki.ubuntu.com/NotifyOSD#Sanitizing%20body%20text>:
  1. A notification bubble appears with body text 'Markup should be filtered.'
  2. A notification bubble appears with body text 'Markup should be filtered.'

  In a fallback alert box, the same code apparently causes the body text
  not to appear at all. <http://launchpadlibrarian.net/23735670
  /kerneloops-notify-bad.jpg> Fallback alert box text should appear,
  with exactly the same filtering as notification bubble text has.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/339020/+subscriptions