Files
pandoc/test
John MacFarlaneandClaude bf52badec6 Text.Pandoc.MediaBag: prevent mediaPath collisions between keys.
The friendly mediaPath was derived by percent-unescaping the key, so
distinct keys like "a%20b.png" and "a b.png" produced the same
mediaPath ("a b.png") and silently clobbered each other on
extraction (and inside docx/epub archives). Now the original name
is only kept if the key contains no percent sign, so mediaPath
equals the key and distinct keys yield distinct paths; anything
percent-encoded gets a content-hash name. Hashed names can only
coincide for identical contents, which is harmless.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-09-09 23:30:32 -07:00
..
…
…
…
…
…
…
…
…
…
…