[Spice-devel] [spice-gtk 2/5] session: Lookup URI query part before path part

Christophe Fergeau cfergeau at redhat.com
Wed Jun 5 05:21:10 PDT 2013


On Wed, Jun 05, 2013 at 01:07:16PM +0300, Uri Lublin wrote:
> In your example, query is "my_param=/some/path" and path points
> to "/some/path" within query. Some may find it confusing, and it does not
> follow URI syntax where path comes before query (IIUC).

This is not meant to move the 'path' part of the URI in the params, but to
allow the params to contain '/' without confusing SPICE URI parser.
You can change the example to
scheme://foo.example.com?mimetype=text/plain
if that makes things less confusing.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130605/b7a96bf2/attachment.pgp>


More information about the Spice-devel mailing list