Export/import: fix lost images and malformed-file crashes
- An image URL used more than once in the same string (e.g. rich text) was only replaced once, leaving broken __IMG__ placeholders after import. - Images that failed to export were still replaced by placeholders that the import could never resolve; keep the original URL instead. - Validate the uploaded file's shape and JSON (was a 500 on bad input). - Build lookup filters with pb.filter so names/slugs with quotes don't create duplicates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KgF3Kf47LjPGHKQHszpUAv
This commit is contained in:
parent
ff54adb00c
commit
1eb58c71ba
3 changed files with 394 additions and 374 deletions
Loading…
Add table
Add a link
Reference in a new issue