gio-gvfs on Windows: Don't mishandle other non-native URIs in gwinhttpvfs.c
Submitted by Chun-wei Fan
As we don't have a GVFS add-on module for Windows at this time, and as g_check_setuid() always returns FALSE on non-unix, we would always use the local version of g_file_new_for_uri(), which would return strings like the following when we are running the g-icon test program in GIO:
GLib-GIO:ERROR:g-icon.c:86:test_g_icon_to_string: assertion failed (data == "sft p:///some/non-native/path/to/an/icon.png"): ("c:\gnome.build.unstable\glib-2.4 1.0\gio\tests\sftp:\some\non-native\path\to\an\icon.png" == "sftp:///so me/non-native/path/to/an/icon.png")
Which means that the native path is used for all paths, even those that are really non-native paths.