mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-24 10:16:59 -06:00
Follow paths stored in documents only on this computer or the document's share
Links, data sources, IDML package links and book chapters go through io::document_path (craft-docpath) before they reach the file system: relative paths resolve beside the document, and paths to other computers, devices and URLs are missing, with the reason in links.list and Preflight. IDML and INDD packages read a linked file where its link points on this computer, then from the link's trailing names beside the package, only when it is a regular file up to 256 MB holding an image or a graphic. A file URI that names a host keeps it as a network path.
This commit is contained in:
@@ -73,6 +73,8 @@ zip = { version = "3", default-features = false, features = ["deflate"] }
|
||||
# (MIT OR Apache-2.0, no dependencies, builds for wasm).
|
||||
indd = { git = "https://github.com/storytold/indd-utils", branch = "main" }
|
||||
|
||||
# Which paths stored in documents may be followed (craft-libs).
|
||||
craft-docpath = { path = "../secfix-craft-libs/crates/docpath" }
|
||||
# Atomic file replacement for saves and exports (craft-libs).
|
||||
craft-atomic = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "e9546e191dd62f2bc1d61eca45dbdc2f1b3c1d8e" }
|
||||
# File › Print through the system print spooler (craft-libs).
|
||||
|
||||
Reference in New Issue
Block a user