glib/gio/win32
Руслан Ижбулатов ccbadcfb04 GWinHTTPVfs: use URI parser for parsing URIs
If a URI can't be handled by by WinHTTPVfs, it should pass that URI
along to the URI parser of the wrapped Vfs, not to its generic parser.
Theoretically, generic parser should also be able to handle URIs,
but this is subject to Vfs semantics.

In case of Windows, the wrapped Vfs is GLocalVfs, which is *local* and
treats any generic names as either file:// URIs or as filesystem
paths. It only ever treats URIs as URIs when they are passed
to its URI parser. This breaks the testsuite when g-icon GIO test passes
unhandleable sftp:// URI, and expects it to come through unmolested,
yet GLocalVfs, getting that URI as a generic parse name, treats it as
a filesystem path, and then "canonicalizes" it by prepending CWD.

Fix this by making WinHTTPVfs pass any URIs it gets to the URI parser
of the wrapped Vfs. This way unknown URIs remain URI-ish. This seems
like a reasonable things to do, since the URI parser should not be
given anything other than URIs, so there's no reason to try generic
parsing with these strings.

Closes: #875
2019-02-13 08:49:42 +00:00
..
gwin32filemonitor.c gio/win32/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gwin32filemonitor.h gio/win32/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gwin32fsmonitorutils.c gio/win32/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gwin32fsmonitorutils.h gio/win32/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gwinhttpfile.c gio/win32/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gwinhttpfile.h gio/win32/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gwinhttpfileinputstream.c gio/win32/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gwinhttpfileinputstream.h gio/win32/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gwinhttpfileoutputstream.c gio/win32/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gwinhttpfileoutputstream.h gio/win32/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
gwinhttpvfs.c GWinHTTPVfs: use URI parser for parsing URIs 2019-02-13 08:49:42 +00:00
gwinhttpvfs.h gio/win32/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:34 +02:00
meson.build Remove HAVE_CONFIG_H defs and uses 2018-02-21 13:57:10 +00:00
winhttp.h License headers: replace current FSF address by a link to gnu.org 2017-01-04 19:12:57 +01:00