]> granicus.if.org Git - transmission/commit
Sanitize suspicious path components instead of rejecting them sanitize-path-comps
authorMike Gelfand <mikedld@mikedld.com>
Sun, 23 Jun 2019 13:23:22 +0000 (16:23 +0300)
committerMike Gelfand <mikedld@mikedld.com>
Sun, 23 Jun 2019 14:51:08 +0000 (17:51 +0300)
commitf24b202743e8f37df0e4078f104a2619e3ed7067
treef418f39e9b0498c3d0de2f05c5396fcc73a01cc2
parent139f3a3f4b8bef5858739a8f08bd2ad9911f55c7
Sanitize suspicious path components instead of rejecting them

Apply the same rules on all the supported platforms to avoid issues
with network shares and alien file systems.

For future compatibility, explicitly mark adjusted paths as renamed.
libtransmission/metainfo-test.c
libtransmission/metainfo.c
libtransmission/metainfo.h