[Spice-devel] [PATCH v2 spice-gtk 1/3] spice-session/spice_uri_parse: fail if a key is seen twice
alevy at redhat.com
Thu Jan 5 03:34:57 PST 2012
On Thu, Jan 05, 2012 at 12:25:12PM +0100, Marc-André Lureau wrote:
> On Tue, Jan 3, 2012 at 5:52 PM, Alon Levy <alevy at redhat.com> wrote:
> > + int punctuation = 0;
> what is this for?
So we don't accept something like:
so you count the number of "?:&" (punctuation) seen, if you see a ':'
and it isn't the first, fail. This also catches double colon:
> otherwise, ack
> Marc-André Lureau
More information about the Spice-devel