diff --git a/src/gui/components.py b/src/gui/components.py index 4c52fab..0ca4739 100644 --- a/src/gui/components.py +++ b/src/gui/components.py @@ -778,7 +778,10 @@ def render_findings_panel(findings, *, header: str = "Detected issues") -> None: _render_one_finding(f) page_slug = _tool_page_slug(tool_id) if page_slug: - st.page_link(f"src/gui/{page_slug}", label=f"Open {tool_display_name(tool_id)} →") + # Streamlit resolves page paths relative to the entrypoint + # (src/gui/app.py), so a leading ``src/gui/`` would point + # outside the allowed page tree on Windows. + st.page_link(page_slug, label=f"Open {tool_display_name(tool_id)} →") if untargeted: with st.expander(