Repository navigation
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (4)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughMarkdown file-link parsing now recognizes Unicode paths and encoded delimiters. Browser and PDF preview checks use the full path. HTML render selection and reveal handling are tracked for the current document. ChangesDocument preview behavior
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix · Severity of issue fixed: Medium Suggested reviewers: Merge Risk: ⚪ Minimal · up to Ordinary relative Unicode document links appear to benefit from this change. No confirmed issue blocks merging. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The change is limited to file-link interpretation and document previews. The inspected paths retain existing file-access mediation and HTML isolation. No introduced vulnerability was verified, but end-to-end enforcement and recovery coverage remains incomplete. Retained concerns Security review detailsSecurity Blast Radius
Security Findings and Attack Paths
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 1 | ❌ 2 | ❓ 2❌ Failed checks (2 warnings, 2 inconclusive)
✅ Passed checks (1 passed)
Full details: Linked Issues checkExplanation For Full details: Out of Scope Changes checkExplanation The Full details: Description checkExplanation The description gives clear problem and change details, links issues, and reports focused tests and browser checks. However, it does not provide maintainer approval for the preference-scope decision, which the linked issue identifies as needing review.
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Fixes #16099. Fixes #16096.
HTML documents can open as source after a user selects source once, because
t3code.renderBrowserFile=falsepersists globally. Document links with literal#,?, or Unicode filenames can fail before rendering: browser-document checks truncate decoded paths as URLs, and the shared Markdown parser rejects characters in bare relative paths.Keep HTML source mode local to the current document so new documents open rendered. Explicit line targets still open source, and Markdown/table preferences remain unchanged. Use the shared filesystem-path classifier for HTML/PDF previews. Accept Unicode letters, numbers, and combining marks, plus decoded
#,?, and%, in the existing relative-path patterns. Preserve exact filename spelling and separate URL queries/fragments before decoding. The Unicode fix extends the same path-recognition change already in this PR and reaches web, desktop, and mobile callers.Based on nightly
v0.0.46-nightly.20261005.2676(7812230572f2). Prior content-type and desktop CSP fixes are already in this base. Related history: #9143, #10935, #11935, #11191, and #9140.Validation:
false. Source toggling and explicit line targets worked.report%23final.htmllink rendered the document and sibling CSS. Both literal and encoded線性代數/期中 報告.htmllinks in rendered Markdown opened the HTML document; its load script reported success. The Unicode line link opened source with line 3 highlighted.Filename classification, before and after:
Unicode links, before (ordinary relative web anchors) and after (the linked HTML document renders):
Screenshots use synthetic files. Native mobile was not tested; its shared link-presentation tests pass. No transport, asset-permission, or sandbox contracts change. Intermittent blank frames on reopening documents were observed separately and are not claimed fixed. Windows File Explorer launch failures remain tracked in #11780; this PR does not change the launcher.
Models: GPT-6-Astra and GPT-6.1-Sol. Harness: Codex through T3 Code.