]> granicus.if.org Git - transmission/commit
TRAC-6098: Rework trailing slash stripping (once more)
authorMike Gelfand <mikedld@mikedld.com>
Mon, 3 Oct 2016 19:22:25 +0000 (22:22 +0300)
committerMike Gelfand <mikedld@mikedld.com>
Mon, 3 Oct 2016 19:22:25 +0000 (22:22 +0300)
commitf6a19f868a12884bffb66018d056cb21d51aa4c9
tree6fb8a5cc7d6181277c3e713dd6ff5444f593db80
parent7d22c1efc0d770271b0a5ccecf57c6612ab0ab77
TRAC-6098: Rework trailing slash stripping (once more)

Using QFileInfo to strip trailing slash(es) is bad when input contains non-
native paths (i.e. Windows paths on non-Windows system and vice versa) as it
may mistakenly treat the path as relative and change it in unespected way.
qt/Utils.cc