diff options
author | Ross Lagerwall <rosslagerwall@gmail.com> | 2015-09-20 15:15:51 +0100 |
---|---|---|
committer | Ross Lagerwall <rosslagerwall@gmail.com> | 2015-09-27 22:30:22 +0100 |
commit | eefdc161bc016d9f5f8a5122e7c9eb75769078ed (patch) | |
tree | 2cf96671e3fd4fd425cce29faa3073418e9d8659 /daemon/gvfsjobqueryinfo.c | |
parent | d1a53acf98d152f7e22fcf05ed9e2661b81334aa (diff) | |
download | gvfs-eefdc161bc016d9f5f8a5122e7c9eb75769078ed.tar.gz |
ftp: Sanitize absolute symlink paths when resolving
The existing code sanitizes relative symlinks but not absolute symlinks
when resolving them. But this can cause issues when looking up the
resolved path (e.g. if it has a trailing slash, the correct information
will not be returned because it will not get the parent directory
correctly).
To fix this, sanitize both absolute and relative paths.
https://bugzilla.gnome.org/show_bug.cgi?id=755303
Diffstat (limited to 'daemon/gvfsjobqueryinfo.c')
0 files changed, 0 insertions, 0 deletions