| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The IPv6 addresses with zone identifiers are refused by GVfs currently.
THis is because of g_uri_unescape_segment failure as RFC 4007 allows bare
% sign to be used as separator. Although, RFC 6874 tries to fix that by
the %25 separator, however, at the same time, it suggests that the bare %
sign should still be accepted in user interfaces. But this would make this
too complex and lead to various problems (e.g. it would not be clear what
separator should be used for g_file_get_uri function). So I intentionally
don't plan to support what is suggested by RFC 6874 for now, which
effectively means that zone identifiers with non-ASCII chars won't be
supported. Let's skip the g_uri_unescape_segment function for IPv6 address
and also fix the gvfs_is_ipv6 function in order to accept the zone
identifiers...
Fixes: https://gitlab.gnome.org/GNOME/gvfs/-/issues/483
|
|
|
|
|
|
|
|
|
|
| |
Use of the format "user:password" in the userinfo field is deprecated
and applications should not render as clear text any data after the
first colon as per rfc3986. Passwords have never been handled in
userinfo fields by GVfs, however, they are still part of the usernames,
which is wrong. Let's ignore such data in userinfo fileds.
https://bugzilla.gnome.org/show_bug.cgi?id=628430
|
|
|
|
|
|
|
|
|
|
|
| |
The "[]:" chars are omitted currently when encoding uri, because they
are valid for IPv6. This causes problems in some cases, e.g. output from
g_file_get_uri(g_file_new_for_uri("dav+sd://foo%3Abar._webdav._tcp.local"))
is "dav+sd://foo:bar._webdav._tcp.local/", which is obviously wrong. Add
gvfs_is_ipv6 in order to detect IPv6 addresses and encode also "[]:" chars
in other cases. Use gvfs_is_ipv6 to detect IPv6 also in some backends.
https://bugzilla.gnome.org/show_bug.cgi?id=772849
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updating the address of the FSF.
This has been done by:
while read file; do
sed -i 's:59 Temple Place:51 Franklin Street:' $file
sed -i 's:Suite 330:Fifth Floor:' $file
sed -i 's:02111-1307:02110-1301:' $file
done
https://bugzilla.gnome.org/show_bug.cgi?id=656598
Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-20 Alexander Larsson <alexl@redhat.com>
Bug 548648 – g_daemon_vfs_parse_name() fails to parse user names with '@' chars
* client/gvfsuriutils.c (g_vfs_decode_uri):
Make sure multiple @ in the authority part are put in the username.
This is an invalid uri, but we might as well handle it in the better way.
svn path=/trunk/; revision=2345
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-05 Alexander Larsson <alexl@redhat.com>
Bug 569199 – incorrectly open smb workgroup using a space
* client/gvfsuriutils.c (g_vfs_encode_uri),
(g_vfs_decode_uri):
Escape and unescape host part too. This means we handle
e.g. smb workgroups with spaces in them. Allowing
escapes in hostnames complies with RFC 3986.
* client/gdaemonvfs.c (get_mountspec_from_uri):
Fix indentation
svn path=/trunk/; revision=2288
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-05 Bastien Nocera <hadess@hadess.net>
* client/gvfsuriutils.c (g_vfs_decode_uri):
Fix parsing of IPv6-style hostnames to not find the
port in the path section of the URI, fixes browing
browsing ObexFTP on Nokia Series 60 phones which show
drive letters as directories in the root (eg. "C:")
(Closes: #520314)
* client/test-uri-utils.c (main): Add test for the above,
and another test for the IPv4-style URIs
svn path=/trunk/; revision=1558
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-03 Benjamin Otte <otte@gnome.org>
* client/gvfsuriutils.c: (g_vfs_decode_uri):
revert yesterday's commit. It broke the obex and gphoto backends. We
now parse hostnames different for internet hosts.
* daemon/ftp.mount.in:
Parse hostnames different.
svn path=/trunk/; revision=1511
|
|
|
|
|
|
|
|
|
|
| |
2008-03-02 Benjamin Otte <otte@gnome.org>
* client/gvfsuriutils.c: (g_vfs_decode_uri):
don't pass the [] when parsing IPv6 addresses
svn path=/trunk/; revision=1484
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-23 Bastien Nocera <hadess@hadess.net>
* client/test-uri-utils.c: (main):
* client/Makefile.am: Add test program for the
functions in gvfsuriutils.c
* client/gvfsuriutils.c: (g_vfs_decode_uri):
Fix parsing of IPv6 URIs where the host is in brackets
svn path=/trunk/; revision=1171
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-12 Alexander Larsson <alexl@redhat.com>
* common/gmountspec.[ch]:
(g_mount_spec_new_from_data):
(g_mount_spec_set_with_len):
Add new functions
* client/Makefile.am:
* common/Makefile.am:
Update for moved files
Build non-shared version of common libs.
Ups non-shared common libs in client module.
* common/gvfsuriutils.[ch]: Removed.
* client/gvfsuriutils.[ch]: Added.
Moved uriutils to gvfs (not used by daemon)
Re-namespace to g_vfs_*
* common/gvfsurimapper.[ch]: Removed.
* client/gvfsurimapper.[ch]: Added.
Move UriMapper to client lib
Remove/Hide use of GMountSpec
* client/gdaemonvfs.c:
* client/smburi.c:
Update to the new APIs
* client/gvfsfusedaemon.c:
* daemon/gvfsbackendtrash.c:
* daemon/gvfsjobqueryfsinfo.c:
Fix warnings
svn path=/trunk/; revision=1020
|
|
|
|
|
|
|
|
| |
This involves creating a GVfsUriMapper baseclass in common/
Original git commit by Alexander Larsson <alexl@redhat.com> at 1188821530 +0200
svn path=/trunk/; revision=884
|
|
|
|
|
|
| |
Original git commit by Alexander Larsson <alexl@redhat.com> at 1179152686 +0200
svn path=/trunk/; revision=564
|
|
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1169052241 +0100
svn path=/trunk/; revision=251
|