docs: Mention handling of filenames containing colons in gio docs

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://gitlab.gnome.org/GNOME/glib/issues/1623
This commit is contained in:
Philip Withnall 2018-12-19 12:24:17 +00:00
parent 88ceff934c
commit ed007bb4cf

View File

@ -143,6 +143,9 @@
use GIO locations instead of local files: for example you can use
something like <filename>smb://server/resource/file.txt</filename>
as a location.</para>
<para>Plain filenames which contain a colon will be interpreted as URIs
with an unknown protocol. To avoid this, prefix them with a path such as
<filename>./</filename>, or with the <literal>file:</literal> protocol.</para>
</refsect1>
<refsect1>