diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-12-28 16:31:54 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-12-28 16:31:54 -0800 |
commit | d960282b105a6469c760b4308a3b81da723b7256 (patch) | |
tree | 852e55c7e42a15b6408b6d939aba69da1ad672f4 /windows | |
parent | 7d56650e0137daf504fdd79187811f091d4eee37 (diff) | |
download | pandoc-d960282b105a6469c760b4308a3b81da723b7256.tar.gz |
Use `splitDirectories` istead of `splitPath`.
We were using `splitPath` in two places in the code
where `splitDirectories` should have been used.
This led to a test for `..` in paths in `extractMedia`
failing, so that images with `..` in the path name
could be extracted outside the directory specified
by `extractMedia`.
It also led a test for `media` in resource paths to fail
in the docx reader.
Diffstat (limited to 'windows')
0 files changed, 0 insertions, 0 deletions