Leave message does not like "<" and "&"

Bug #159940 reported by Steven "Kreuvf" Koenig
12
Affects Status Importance Assigned to Milestone
GNOME Screensaver
Fix Released
Medium
Rhythmbox
Unknown
Medium
gaim-libnotify
Invalid
Unknown
xchat
Unknown
Unknown
gnome-screensaver (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs
libnotify (Ubuntu)
Won't Fix
Low
Unassigned
rhythmbox (Ubuntu)
Invalid
Low
Unassigned
xchat (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: gnome-screensaver

Entering leave-messages containing a "<" (without quotes) results in an empty leave-message.

Example texts (without quotes):
"Hey, where are you? >.<"
"<RandomNick> RandomChatMessage
Please respond to this when you are back!1111"

Have checked ">" as well without any problems.

Added later: Also doesn't like "&" unescaped.

Revision history for this message
Koen (koen-beek) wrote :

I can confirm this problem on my ubuntu gutsy 32 bit on and AMD 64 machine

Changed in gnome-screensaver:
status: New → Confirmed
Revision history for this message
Steven "Kreuvf" Koenig (kreuvf) wrote :

It does not have to do much with gnome-screensaver as further testing showed. E. g. x-chat popups containing "<" behave the same way: Popup appears, but empty.

Changed in gnome-screensaver:
importance: Undecided → Low
Changed in xchat:
importance: Undecided → Low
Revision history for this message
Basilio Kublik (sourcercito) wrote :

Thanks for your report, i've sent it upstream, please follow the status of the issue or make your comments at http://bugzilla.gnome.org/show_bug.cgi?id=494177

Changed in gnome-screensaver:
status: Confirmed → Triaged
Revision history for this message
Basilio Kublik (sourcercito) wrote :

I wasn't able to reproduce in xchat, could you please tell me the steps to reproduce this there, i couldn't reproduce it either in other applications such as rhythmbox, i thought it could be libnotify, but i can only reproduce it in gnome-screensaver.

Thanks in advance

Revision history for this message
Basilio Kublik (sourcercito) wrote :
Revision history for this message
Steven "Kreuvf" Koenig (kreuvf) wrote :

Make sure to have checked "Show tray ballons on:" (in my case: channel-message) in your options. First balloon has a message containing a "<", second balloon's message is displayed correctly/as expected.

Hope this helps ^^

Revision history for this message
Basilio Kublik (sourcercito) wrote :

Thanks, now i see what you meant, this is indeed a libnotify issue, easy test can be done by executing the command:

notify-send "<"

Changed in gnome-screensaver:
status: New → Invalid
Changed in xchat:
status: New → Invalid
Changed in gaim-libnotify:
status: Unknown → Invalid
Changed in gnome-screensaver:
importance: Undecided → Unknown
status: Invalid → Unknown
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for working on this!.

Changed in gnome-screensaver:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Triaged
Changed in libnotify:
status: Triaged → Won't Fix
Revision history for this message
Basilio Kublik (sourcercito) wrote :

sorry about the previous gnome-screensaver debdiff, was a buggy patch

Revision history for this message
Basilio Kublik (sourcercito) wrote :

xchat debdiff

Changed in xchat:
status: Invalid → Triaged
Revision history for this message
Basilio Kublik (sourcercito) wrote :

The patch was commited to GNOME svn repository.

Changed in gnome-screensaver:
status: Triaged → Fix Committed
Revision history for this message
Steven "Kreuvf" Koenig (kreuvf) wrote :

I found out that at least in x-chat and gnome-screen-saver the "&" is affected, too. Open new bug-report?

Revision history for this message
Basilio Kublik (sourcercito) wrote :

Hi Steven
the patch already address the issue, don't worry about it, i already test the patch, just to confirm, and it did work with both problematic characters.
the upstream report already mention this issue, so i think just changing the title and/or description of this report would do the trick

description: updated
Revision history for this message
Basilio Kublik (sourcercito) wrote :

i was able to sort of reproduce this issue under rhythmbox today, but just the track title sees affected, i'll attach a screenshot demostrating this.

Revision history for this message
Basilio Kublik (sourcercito) wrote :

this is slightly different to the both previous cases, in rhythmbox just the ampersand, in the track title tag, trigger this bug, but since is caused by the same reason than the previously included packages, the inclusion of the package here seems, to me at least, adequate instead of open a new bug. maybe I'm wrong but still, if that's the case, shouldn't be too hard to solve this issue.

I've open a report upstream about this issue: http://bugzilla.gnome.org/show_bug.cgi?id=498081

Changed in rhythmbox:
importance: Undecided → Low
Changed in rhythmbox:
status: New → Triaged
Changed in gnome-screensaver:
status: Unknown → Fix Released
Changed in rhythmbox:
status: Unknown → Invalid
Revision history for this message
Johnathon (kirrus) wrote :

Added Ubuntu main sponsors for the rhythmbox patch.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Sébastien: could you please take a look at it?

Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is in hardy

Changed in gnome-screensaver:
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

that's not a rhythmbox bug

Changed in rhythmbox:
status: Triaged → Invalid
Revision history for this message
Steven "Kreuvf" Koenig (kreuvf) wrote :

I still have this bug in Hardy (xchat 2.8.4).

Revision history for this message
Victor Vargas (kamus) wrote :

sorry for this delayed reply but xchat 2.8.6-4ubuntu5 is scaping fine all these characters under Ubuntu Lucid, @Steven please could you check if this issue is still affecting you under latest xchat release included in Lucid? Thanks!

Changed in xchat (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Nigel Babu (nigelbabu) wrote :

This bug seems to be fixed in the xchat in Lucid. I'm closing this bug. Please feel free to reopen this bug if you feel this has been done wrongly.

tags: added: patch-forwarded-upstream
Changed in xchat (Ubuntu):
status: Incomplete → Fix Released
Changed in rhythmbox:
importance: Unknown → Medium
status: Invalid → Unknown
Changed in gnome-screensaver:
importance: Unknown → Medium
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.