scripttest
Attachment Rename Script Test Page
This page is used to test all known edge cases for attachment renaming and broken reference recovery.
โ Working Link with Bad Filename
This should show a valid image but with a bad filename like `a b.jpg`, which will be renamed to `a_b.jpg`.
<img src="/bin/download/Main%20Categories/Crime%20%26%20Justice/Blacks%20counted%20as%20White/scripttest/WebHome/a%20b.jpg?rev=1.1" width="300" />
๐งผ Already-clean filename
๐ฅ Broken reference (does not exist at all)
๐ Previously renamed (should be fixed if stale)
<img src="/bin/download/Main%20Categories/Crime%20%26%20Justice/Blacks%20counted%20as%20White/scripttest/WebHome/bad%20name.jpg" width="250" />
๐ง Fuzzy-match candidate (actual file is `a_b.jpg`)
๐งช Badly-encoded filename with leftover macro syntax
๐งฑ HTML Embed (should still work after rename)
<img src="/bin/download/Main%20Categories/Crime%20%26%20Justice/Blacks%20counted%20as%20White/scripttest/WebHome/a%20b.jpg?rev=1.1" width="200" />
โ๏ธ Velocity-based Embed with bad name
<img src="/bin/download/Main%20Categories/Crime%20%26%20Justice/Blacks%20counted%20as%20White/scripttest/WebHome/bad%20name.jpg" width="200" />