Trash spec: wrapping up
Alexander Larsson
alexl at redhat.com
Tue Nov 2 11:48:58 EET 2004
On Tue, 2004-11-02 at 10:04 +0300, Mikhail Ramendik wrote:
> Alexander Larsson wrote:
>
> > Thus, i propose that we store the byte string in escaped form in the
> > trash info file. The normal desktop file escaping method doesn't allow
> > encoding of any byte value, so we can't use that. To avoid multiple
> > escape/unescape problems when using existing desktop parsers we
> > shouldn't extend that method. Instead i propose that we use url-style
> > escaping.
>
> What's the name of the standard that describes URL-style escaping and is
> supported in Gnome and KDE? We need to redference that in the text.
Its described in RFC 2396, section 2.4.1. We still have to decide
exactly what characters to escape though. I think a good set of
characters to not escape is the "unreserved characters" class in the
RFC, plus "/".
That would mean everything is escaped except:
'a' - 'z', 'A'- 'Z', '0' - '9',
'-', '_', '.' '!', '~', '*', ''', '(', ')'
'/'
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl at redhat.com alla at lysator.liu.se
He's a lonely chivalrous boxer gone bad. She's a tortured Buddhist journalist
with her own daytime radio talk show. They fight crime!
More information about the xdg
mailing list