"<>" is wrongly treated as an HTML tag

Bug #356556 reported by Matthew Paul Thomas
2
Affects Status Importance Assigned to Milestone
notify-osd (Ubuntu)
New
Undecided
Cody Russell

Bug Description

notify-osd 0.9.9-0ubuntu1, Ubuntu Jaunty

1. notify-send "test" "I love fish ><>"

What happens: A bubble appears with a title "test", and body text "I love fish >".
What should happen: A bubble appears with a title "test", and body text "I love fish ><>".

From <https://wiki.ubuntu.com/NotifyOSD#sanitizing>: "If the text contains a < character that is immediately followed by a letter or by a / character, and a > character occurs later in the string, the sequence from that < character to the soonest-following > character inclusive should be treated as an HTML tag and removed."

Here, the < character is *not* immediately followed by a letter or by a / character, but Notify OSD is treating the string from < to > as an HTML tag anyway. It shouldn't do that.

It may save time to fix bug 356567 at the same time as this bug.

description: updated
summary: - "<)))>" is wrongly treated as an HTML tag
+ "<>" is wrongly treated as an HTML tag
description: updated
Cody Russell (bratsche)
Changed in notify-osd (Ubuntu):
assignee: nobody → bratsche
Revision history for this message
Cody Russell (bratsche) wrote :

This will be fixed in Bug #356659

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.