Hey, Thanks for the patch, sorry for the very late answer :( On Fri, May 06, 2016 at 08:25:13AM +0000, Martin Hradil wrote: > Right now, `spice_auto.html` reads the path from query string .. and > never actually does anything with it. This should make > `spice_auth.html` respect a path parametr when given. > > --- > spice_auto.html | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/spice_auto.html b/spice_auto.html > index 5714804..9aae118 100644 > --- a/spice_auto.html > +++ b/spice_auto.html > @@ -128,6 +128,10 @@ > > uri = scheme + host + ":" + port; > > + if (path) { > + uri += path[0] == '/' ? path : ('/' + path); > + } > + Yup, this matches what is done in spice.html, even though the code there is less sophisticated: uri = scheme + host + ":" + port + "/" + path; Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx> I'll push this now. Christophe
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel