After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 453188 - improper escaping of gnome-keyring-daemon keys
improper escaping of gnome-keyring-daemon keys
Status: RESOLVED FIXED
Product: seahorse
Classification: Applications
Component: general
1.0.1
Other Linux
: Normal normal
: 2.20.0
Assigned To: Seahorse Maintainer
Seahorse Maintainer
Depends on:
Blocks:
 
 
Reported: 2007-07-02 18:57 UTC by Josselin Mouette
Modified: 2007-08-21 03:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Josselin Mouette 2007-07-02 18:57:53 UTC
[ forwarded from http://bugs.debian.org/429771 by Zack Weinberg ]

I have a gnome-keyring-daemon key that happens to have a < in its name.
(It is the WPA key for a wireless network named "plato <M kashy" - long
story.)  If I right-click on that key in seahorse's Passwords tab and select
Properties, I get a slightly mangled dialog box asking me whether to allow
seahorse access, and these error messages in the terminal:

(seahorse:7700): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 3 char 2: Odd character '<', expected a '=' after attribute name 'kashy' of element 'M'

(seahorse:7700): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 3 char 2: Odd character '<', expected a '=' after attribute name 'kashy' of element 'M'

(seahorse:7700): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 3 char 2: Odd character '<', expected a '=' after attribute name 'kashy' of element 'M'

It appears that seahorse is not escaping the < before passing it to
some Gtk function that does HTML-alike formatting.
Comment 1 Stef Walter 2007-08-21 03:37:55 UTC
Thanks for catching that. Fixed.

2007-08-21  Stef Walter  <stef@memberwebs.com>

    * src/seahorse-gkeyring-item.c: Properly escape any markup characters in 
    a gnome-keyring item name. Fixes bug #453188