After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 548598 - URI -> GFile -> URI loses arguments
URI -> GFile -> URI loses arguments
Status: RESOLVED DUPLICATE of bug 549553
Product: gvfs
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2008-08-20 09:39 UTC by Bastien Nocera
Modified: 2008-08-27 13:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2008-08-20 09:39:35 UTC
from bug 545864

const char *mrl = "mmsh://av.rtl.nl/web/components/actueel/editienl/2008/week33/vr18.Editie_NL_15-08-2008.MiMedia_WM_1500K_V9.wmv?MSWMExt=.asf"
GFile *file;
char *uri;

file = g_file_new_for_command_line (mrl);
uri = g_file_get_uri (file);

uri ends up being mmsh://av.rtl.nl/web/components/actueel/editienl/2008/week33/vr18.Editie_NL_15-08-2008.MiMedia_WM_1500K_V9.wmv (notice the missing "?MSWMExt=.asf" which breaks streaming).

I would have expected gvfs to return NULL, rather than a truncated URI.
Comment 1 Bastien Nocera 2008-08-27 13:40:05 UTC

*** This bug has been marked as a duplicate of 549553 ***