aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-06-18 12:06:20 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-06-18 13:19:24 -0700
commit3fb5499dd638dae7156fba63ba5c1522bed5e46d (patch)
tree725d984325f9921101d7fbf8823992d322b93355 /src/Text/Pandoc/App
parent961268446c551e43b43cd3dffaf0f3c6be4dfa6f (diff)
downloadpandoc-3fb5499dd638dae7156fba63ba5c1522bed5e46d.tar.gz
insertMediaBag: ensure we get sane mediaPath for URLs.
Long URLs cannot be treated as mediaPaths, but System.FilePath's `isRelative` often returns True for them. So we add a check for an absolute URL. We also ensure that extensions are derived only from the path portion of URLs (previously a following query was being included). Closes #7391.
Diffstat (limited to 'src/Text/Pandoc/App')
0 files changed, 0 insertions, 0 deletions