Symptom
In Berd 0.6.2, inside the main window with a valid attached session folder, a Markdown link such as [Open](./report.html) fails with:
File not found: /report.html (session cwd: /Users/.../project)
The same existing file opens when the link destination is written as report.html. External HTTPS links also open normally.
Cause
The Markdown hardening pipeline rewrites ./report.html and ../report.html to /report.html before the artifact click handler resolves the destination against the session working directory.
This is separate from #166, which covers opener permissions outside $HOME.
Acceptance
- Preserve safe
./ and ../ Markdown destinations exactly through rendering.
- Continue blocking unsafe schemes and forged internal sentinels.
- Cover both dot-relative forms with renderer-level regression tests.
Symptom
In Berd 0.6.2, inside the main window with a valid attached session folder, a Markdown link such as
[Open](./report.html)fails with:The same existing file opens when the link destination is written as
report.html. External HTTPS links also open normally.Cause
The Markdown hardening pipeline rewrites
./report.htmland../report.htmlto/report.htmlbefore the artifact click handler resolves the destination against the session working directory.This is separate from #166, which covers opener permissions outside
$HOME.Acceptance
./and../Markdown destinations exactly through rendering.