Desktop entry spec, allowed characterss
vuntz at gnome.org
Sat Apr 28 07:03:20 PDT 2007
Le dimanche 11 mars 2007, à 17:23 +0100, Vincent Untz a écrit :
> Le mercredi 10 janvier 2007, à 08:15, Matthias Clasen a écrit :
> > I recently changed the GKeyFile parser in glib to more faithfully
> > implement the .ini-file format flavour described in the desktop entry
> > spec. The was triggered by a bug complaining that the glib support
> > wasn't symmetric, ie it could produce files that it failed to read
> > in later.
> > It turned out that the restriction of keys to A-Za-z0-9- is problematic,
> > since users of GKeyFile use e.g. mime types (like application/x-foo or
> > image/*) as keys. I'd like to propose that the desktop entry spec
> > should be changed to allow such characters in keys (at least /_+*. ,
> > possibly more). Otherwise I will have to make GKeyFile deviate from
> > the desktop entry spec format, to avoid breaking existing users.
> Is there any opposition to this?
Here's a patch for this - I only added "/_+*.".
Any +1 or -1 for this? I'll commit the patch in a few weeks if nobody is
Les gens heureux ne sont pas pressés.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 603 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20070428/ef4ab334/attachment.patch
More information about the xdg