rygel r653 - trunk/src/rygel



Author: zeeshanak
Date: Sun Mar 15 19:00:43 2009
New Revision: 653
URL: http://svn.gnome.org/viewvc/rygel?rev=653&view=rev

Log:
Separator for HTML query components is '&' rather than '?'.

Modified:
   trunk/src/rygel/rygel-http-server.vala

Modified: trunk/src/rygel/rygel-http-server.vala
==============================================================================
--- trunk/src/rygel/rygel-http-server.vala	(original)
+++ trunk/src/rygel/rygel-http-server.vala	Sun Mar 15 19:00:43 2009
@@ -112,8 +112,9 @@
 
     internal string create_http_uri_for_item (MediaItem item, bool transcode) {
         string escaped = Uri.escape_string (item.id, "", true);
-        string query = "?itemid=%s?transcode=%s".printf (escaped,
-                                                         transcode.to_string ());
+        string query = "?itemid=%s&transcode=%s".printf (
+                                escaped,
+                                transcode.to_string ());
 
         return create_uri_for_path (query);
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]