Repository navigation
Import from Wiki.js 2.x: links to files with parentheses in the name are not rewritten #8177
DescriptionThe 2.x import renames asset files to the 3.x rules ( 2.x keeps parentheses in uploaded file names (it lowercases them and turns spaces into underscores), and its editor inserts the path as stored. A file uploaded as Environment
Steps to reproduce
Actual behaviorThe import's finish warning says pages were relinked ("[...] their links were rewritten to match"), but only some links were rewritten:
Expected behaviorEvery link to a renamed file is rewritten, as "Links follow the paths they point at" in Cause
Suggested fixRead the destination the way CommonMark does, with balanced parentheses and backslash escapes. For example The converted ckeditor link also needs its backslash escapes removed before it is resolved. Related: links to non-image files and locale-prefixed imagesThese are separate from the parentheses. At render time only image sources are mapped to An image link with a locale prefix, |
Replies: 1 comment
|
Fixed in 3.0.2 |
Fixed in 3.0.2